Use explicit path for vsce
This commit is contained in:
Родитель
3c07be5f74
Коммит
f8804f946c
|
@ -9,7 +9,7 @@ export async function packageExtension(): Promise<void> {
|
||||||
'package',
|
'package',
|
||||||
'--out', path.resolve(deployedPackage.distPath, '..', `${deployedPackage.name}-${deployedPackage.version}.vsix`)
|
'--out', path.resolve(deployedPackage.distPath, '..', `${deployedPackage.name}-${deployedPackage.version}.vsix`)
|
||||||
];
|
];
|
||||||
const proc = childProcess.spawn('npx', ['vsce'].concat(args), {
|
const proc = childProcess.spawn('./node_modules/.bin/vsce', args, {
|
||||||
cwd: deployedPackage.distPath
|
cwd: deployedPackage.distPath
|
||||||
});
|
});
|
||||||
proc.childProcess.stdout!.on('data', (data) => {
|
proc.childProcess.stdout!.on('data', (data) => {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче