From 023789d2368087837cbbf073844c4fdeebf272e6 Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 29 Nov 2016 17:18:44 -0800 Subject: [PATCH] Quote glob so that it is handled by tslint and not by the shell (#12993) --- scripts/lint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint.js b/scripts/lint.js index f54df63d65..6473fef6a3 100644 --- a/scripts/lint.js +++ b/scripts/lint.js @@ -7,7 +7,7 @@ const path = require("path"); // Path of tslint when `types-publisher` is symlinked const symlinkedTslintPath = "../node_modules/types-publisher/node_modules/tslint" const tslintPath = existsSync(path.join(pkg, symlinkedTslintPath)) ? symlinkedTslintPath : "../node_modules/tslint"; -const cmd = `node ${tslintPath}/lib/tslint-cli --format stylish **/*.d.ts`; +const cmd = `node ${tslintPath}/lib/tslint-cli --format stylish "**/*.d.ts"`; console.log(cmd); try {