Skip to content

Commit

Permalink
ignore node_modules in verify_boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Jan 30, 2018
1 parent 309922f commit bda382c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion hack/verify_boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def file_passes(filename, refs, regexs): # pylint: disable=too-many-locals
def file_extension(filename):
return os.path.splitext(filename)[1].split(".")[-1].lower()

SKIPPED_DIRS = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'vendor', '__init__.py']
SKIPPED_DIRS = [
'Godeps', 'third_party', '_gopath', '_output',
'.git', 'vendor', '__init__.py', 'node_modules'
]

def normalize_files(files):
newfiles = []
Expand Down
2 changes: 1 addition & 1 deletion triage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"devDependencies": {
"jasmine": "~2.8.0"
}
}
}

0 comments on commit bda382c

Please sign in to comment.