Add eslint semi rule

This commit is contained in:
rejas
2019-06-05 10:23:58 +02:00
parent 2bce15dc6e
commit 835668d96d
24 changed files with 39 additions and 38 deletions

View File

@@ -19,7 +19,7 @@
// Prefer command line arguments over environment variables
["address", "port"].forEach((key) => {
config[key] = getCommandLineParameter(key, process.env[key.toUpperCase()]);
})
});
}
function getServerConfig(url) {
@@ -43,7 +43,7 @@
request.on("error", function(error) {
reject(new Error(`Unable to read config from server (${url} (${error.message}`));
});
})
});
}
function fail(message, code = 1) {