diff --git a/tools/check-openapi b/tools/check-openapi index b1846439d3..f6e6ec285d 100755 --- a/tools/check-openapi +++ b/tools/check-openapi @@ -1,3 +1,5 @@ +#!/usr/bin/env node + var SwaggerParser = require('swagger-parser'), _ = require('underscore'); diff --git a/tools/linter_lib/exclude.py b/tools/linter_lib/exclude.py index 709804ffeb..e80e306290 100644 --- a/tools/linter_lib/exclude.py +++ b/tools/linter_lib/exclude.py @@ -10,6 +10,7 @@ EXCLUDED_FILES = [ # newlines; there's nothing other than trailing newlines we'd be # checking for in these anyway. "locale", + "tools/check-openapi", ] PUPPET_CHECK_RULES_TO_EXCLUDE = [