mirror of https://github.com/Fabio286/antares.git
build: process.exit on devtoolsInstaller
This commit is contained in:
parent
315d9d84c2
commit
38b32bfb28
|
@ -42,6 +42,7 @@ const downloadFile = url => {
|
||||||
await unzip(filePath, destFolder);
|
await unzip(filePath, destFolder);
|
||||||
fs.unlinkSync(filePath);
|
fs.unlinkSync(filePath);
|
||||||
fs.unlinkSync(`${destFolder}/package.json`);// <- Avoid to display annoyng npm script in vscode
|
fs.unlinkSync(`${destFolder}/package.json`);// <- Avoid to display annoyng npm script in vscode
|
||||||
|
process.exit();
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|
Loading…
Reference in New Issue