Skip to content

Commit

Permalink
maybe githook CAN work again
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Jan 10, 2018
1 parent 21126bb commit 8b7b299
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions applications/githook.moon
Expand Up @@ -7,6 +7,8 @@ execute = (cmd) ->
handle\close!
return result

execute = os.execute

class GithookApp extends lapis.Application
[githook: "/githook"]: =>
result = "#{execute "git pull origin"}\n"
Expand Down

0 comments on commit 8b7b299

Please sign in to comment.