mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-10 00:20:22 -06:00
Remove hereby gulp shim warning (#56759)
This commit is contained in:
parent
9a470335ff
commit
539d84a0c7
6
.gulp.js
6
.gulp.js
@ -1,14 +1,8 @@
|
||||
const cp = require("child_process");
|
||||
const path = require("path");
|
||||
const chalk = require("chalk");
|
||||
|
||||
const argv = process.argv.slice(2);
|
||||
|
||||
// --tasks-simple is used by VS Code to infer a task list; try and keep that working.
|
||||
if (!argv.includes("--tasks-simple")) {
|
||||
console.error(chalk.yellowBright("Warning: using gulp shim; please consider running hereby directly."));
|
||||
}
|
||||
|
||||
const args = [
|
||||
...process.execArgv,
|
||||
path.join(__dirname, "node_modules", "hereby", "bin", "hereby.js"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user