add line break between error message and help output

This commit is contained in:
Michael Bradley, Jr 2018-09-14 20:44:22 -05:00
parent 6e444aaf65
commit 6e60566b27
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ class Cmd {
const node = options.node || 'vm';
const urlRegexExp = /^(vm|embark|((ws|https?):\/\/([a-zA-Z0-9_.-]*):?([0-9]*)?))$/i;
if (!urlRegexExp.test(node)) {
console.error(`invalid --node option: must be 'vm', 'embark' or a valid URL`.red);
console.error(`invalid --node option: must be 'vm', 'embark' or a valid URL\n`.red);
options.outputHelp();
process.exit(1);
}