aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/actions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/actions.js b/cli/actions.js
index 36296ae..b35b8da 100644
--- a/cli/actions.js
+++ b/cli/actions.js
@@ -44,6 +44,8 @@ function collectFiles(filesOrFolders) {
44} 44}
45 45
46function login(server) { 46function login(server) {
47 if (server[server.length-1] === '/') server = server.slice(0, -1);
48
47 console.log('Using server', server); 49 console.log('Using server', server);
48 config.set('server', server); 50 config.set('server', server);
49} 51}