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 {