aboutsummaryrefslogtreecommitdiff
path: root/src/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.js')
-rw-r--r--src/cli.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.js b/src/cli.js
index 34dd8dc..9ba5fd7 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -43,7 +43,7 @@ function gamepathExists() {
gamepath = json("viper.json").gamepath;
if (! fs.existsSync(gamepath)) {
- console.error(`error: ${lang("cli.gamepath.lost")}`);
+ console.error(lang("cli.gamepath.lost"));
exit(1);
} else {
return true;
@@ -88,7 +88,7 @@ async function init() {
if (cli.getSwitchValue("setpath") != "") {
ipcMain.emit("setpathcli", cli.getSwitchValue("setpath"));
} else {
- console.error(`error: ${lang("cli.setpath.noarg")}`);
+ console.error(lang("cli.setpath.noarg"));
exit(1);
}
}