From: Johannes Zellner Date: Tue, 1 Mar 2016 11:19:42 +0000 (+0100) Subject: Some style hints X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cc6510cf142f7ca9994a3e0ce37724a5884729fb;hp=7712c94e9882964a485cf57774b6effe09f99049;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git Some style hints --- diff --git a/cli/actions.js b/cli/actions.js index 6c4631c..b49ce59 100644 --- a/cli/actions.js +++ b/cli/actions.js @@ -66,7 +66,7 @@ function login(uri) { superagent.get(server + API + '/').query({ username: username, password: password }).end(function (error, result) { if (error && error.code === 'ENOTFOUND') { - console.log('No such server %s'.red, server.bold); + console.log('Server %s not found.'.red, server.bold); process.exit(1); } if (error && error.code) {