mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +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