diff --git a/pre-commit b/pre-commit index b71392dc..49be71b5 100755 --- a/pre-commit +++ b/pre-commit @@ -126,7 +126,7 @@ if __name__ == "__main__": os.chdir("code") if call(["node", "node_modules/gulp/bin/gulp.js", "--silent"]): sys.exit(2) - call(["git", "add", "espurna/data/index*"]) - call(["git", "add", "espurna/static/index*"]) + call(["git", "add", "code/espurna/data/index*"]) + call(["git", "add", "code/espurna/static/index*"]) sys.exit(0);