瀏覽代碼

lintChanges.py didn't take a directory argument in 0.2.9

Nick Mathewson 6 年之前
父節點
當前提交
107e50a90f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/maint/pre-commit.git-hook

+ 1 - 1
scripts/maint/pre-commit.git-hook

@@ -10,7 +10,7 @@ workdir=$(git rev-parse --show-toplevel)
 
 cd "$workdir" || exit 1
 
-python scripts/maint/lintChanges.py ./changes
+python scripts/maint/lintChanges.py ./changes/*
 
 perl scripts/maint/checkSpace.pl -C \
 src/lib/*/*.[ch] \