Exit with error code on error
This commit is contained in:
parent
8b03a86155
commit
7ed98621ce
2
myvc.js
2
myvc.js
|
@ -160,6 +160,8 @@ class MyVC {
|
||||||
console.log(`You can get more details about the error by passing the 'debug' option.`.yellow);
|
console.log(`You can get more details about the error by passing the 'debug' option.`.yellow);
|
||||||
} else
|
} else
|
||||||
console.log(err.stack.magenta);
|
console.log(err.stack.magenta);
|
||||||
|
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function parameter(parameter, value) {
|
function parameter(parameter, value) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "myvc",
|
"name": "myvc",
|
||||||
"version": "1.4.11",
|
"version": "1.4.12",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "MySQL Version Control",
|
"description": "MySQL Version Control",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
"type": "git"
|
"type": "git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"myvc": "^1.4.11"
|
"myvc": "^1.4.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue