mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 22:16:20 +00:00
consistent quotes
This commit is contained in:
parent
fc68e9be3c
commit
a6231851b0
@ -280,7 +280,7 @@ class Cmd {
|
|||||||
const node = options.node || 'vm';
|
const node = options.node || 'vm';
|
||||||
const urlRegexExp = /^(vm|embark|((ws|https?):\/\/([a-zA-Z0-9_.-]*):?([0-9]*)?))$/i;
|
const urlRegexExp = /^(vm|embark|((ws|https?):\/\/([a-zA-Z0-9_.-]*):?([0-9]*)?))$/i;
|
||||||
if (!urlRegexExp.test(node)) {
|
if (!urlRegexExp.test(node)) {
|
||||||
console.error(`invalid --node option: must be 'vm', 'embark' or a valid URL\n`.red);
|
console.error(`invalid --node option: must be "vm", "embark" or a valid URL\n`.red);
|
||||||
options.outputHelp();
|
options.outputHelp();
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user