mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Fix for #31192
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user