Fix for #31192
parent
886f58c6d8
commit
de7e216e9e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue