mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-29 09:36:10 +01:00
Do not fork ui-script commands
Forking of the commands could lead to open processes, even if the parent was stopped with ctrl+c.
This commit is contained in:
committed by
René Pfeuffer
parent
0a4b5d0439
commit
d8a04a1113
@@ -23,13 +23,13 @@
|
||||
*/
|
||||
const lerna = require("../lerna");
|
||||
|
||||
const args = process.argv.slice(2);
|
||||
module.exports = args => {
|
||||
if (args.length < 1) {
|
||||
console.log("usage ui-scripts version <new-version>");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (args.length < 1) {
|
||||
console.log("usage ui-scripts version <new-version>");
|
||||
process.exit(1);
|
||||
}
|
||||
const version = args[0];
|
||||
|
||||
const version = args[0];
|
||||
|
||||
lerna.version(version);
|
||||
lerna.version(version);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user