提交 de7e216e 编写于 作者: E Erich Gamma

Fix for #31192

上级 886f58c6
......@@ -49,7 +49,7 @@
"taskDefinitions": [
{
"type": "npm",
"required": ["script", "path"],
"required": ["script"],
"properties": {
"script": {
"type": "string",
......@@ -57,7 +57,7 @@
},
"path": {
"type": "string",
"description": "The path to the package.json file that provides the script."
"description": "The path to the folder of the package.json file that provides the script. Can be ommitted."
}
}
}
......
......@@ -162,8 +162,7 @@ function createTask(script: string, cmd: string, rootPath: string, shortPath: st
let kind: NpmTaskDefinition = {
type: 'npm',
script: script,
path: rootPath
script: script
};
let taskName = getTaskName(script, shortPath, singleRoot);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册