mirror of
https://github.com/Microsoft/vscode
synced 2024-07-17 02:57:19 +00:00
parent
49ccffbfe6
commit
2381cae3a5
|
@ -325,7 +325,7 @@ export async function createTask(packageManager: string, script: NpmTaskDefiniti
|
|||
|
||||
let relativePackageJson = getRelativePath(packageJsonUri);
|
||||
if (relativePackageJson.length) {
|
||||
kind.path = relativePackageJson;
|
||||
kind.path = relativePackageJson.substring(0, relativePackageJson.length - 1);
|
||||
}
|
||||
let taskName = getTaskName(kind.script, relativePackageJson);
|
||||
let cwd = path.dirname(packageJsonUri.fsPath);
|
||||
|
|
Loading…
Reference in a new issue