Skip to content

Commit

Permalink
fixed syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Brummermann committed Mar 11, 2021
1 parent 39a0732 commit ac91554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/checkcommitstop.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def read_repository(self):

if "GL_REPO" in os.environ:
self.repository = os.environ["GL_REPO"]
else if "GL_PROJECT_PATH" in os.environ:
elif "GL_PROJECT_PATH" in os.environ:
self.repository = os.environ["GL_PROJECT_PATH"]
else:
self.repository = re.sub("\.git", "", re.sub(".*/", "", os.getcwd()))
Expand Down

0 comments on commit ac91554

Please sign in to comment.