tools: Fix running check-openapi locally.

This commit is contained in:
Tim Abbott 2019-08-07 14:18:05 -07:00
parent 7853e9d2de
commit d9e5becb0e
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env node
var SwaggerParser = require('swagger-parser'), var SwaggerParser = require('swagger-parser'),
_ = require('underscore'); _ = require('underscore');

View File

@ -10,6 +10,7 @@ EXCLUDED_FILES = [
# newlines; there's nothing other than trailing newlines we'd be # newlines; there's nothing other than trailing newlines we'd be
# checking for in these anyway. # checking for in these anyway.
"locale", "locale",
"tools/check-openapi",
] ]
PUPPET_CHECK_RULES_TO_EXCLUDE = [ PUPPET_CHECK_RULES_TO_EXCLUDE = [