aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2016-03-01 12:19:42 +0100
committerJohannes Zellner <johannes@nebulon.de>2016-03-01 12:19:42 +0100
commitcc6510cf142f7ca9994a3e0ce37724a5884729fb (patch)
tree3408ec24d24e354f58fc26bed3655fe78a51cb7c /cli
parent7712c94e9882964a485cf57774b6effe09f99049 (diff)
downloadSurfer-cc6510cf142f7ca9994a3e0ce37724a5884729fb.tar.gz
Surfer-cc6510cf142f7ca9994a3e0ce37724a5884729fb.tar.zst
Surfer-cc6510cf142f7ca9994a3e0ce37724a5884729fb.zip
Some style hints
Diffstat (limited to 'cli')
-rw-r--r--cli/actions.js2
1 files changed, 1 insertions, 1 deletions
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) {
66 66
67 superagent.get(server + API + '/').query({ username: username, password: password }).end(function (error, result) { 67 superagent.get(server + API + '/').query({ username: username, password: password }).end(function (error, result) {
68 if (error && error.code === 'ENOTFOUND') { 68 if (error && error.code === 'ENOTFOUND') {
69 console.log('No such server %s'.red, server.bold); 69 console.log('Server %s not found.'.red, server.bold);
70 process.exit(1); 70 process.exit(1);
71 } 71 }
72 if (error && error.code) { 72 if (error && error.code) {