From aa5ce0b983740f1cfe0ca2e2b0eba41959e6aaa5 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 23 Jul 2016 12:27:03 +0800 Subject: [PATCH] Make linter happy --- lib/deployer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/deployer.js b/lib/deployer.js index a0777c0..abe8596 100644 --- a/lib/deployer.js +++ b/lib/deployer.js @@ -37,9 +37,10 @@ module.exports = function(args) { ]; if (args.port && args.port > 0 && args.port < 65536) { - params.splice(params.length - 2, 0, '-e'); - params.splice(params.length - 2, 0, 'ssh -p ' + args.port); + params.splice(params.length - 2, 0, '-e'); + params.splice(params.length - 2, 0, 'ssh -p ' + args.port); } + if (args.verbose) params.unshift('-v'); if (args.ignore_errors) params.unshift('--ignore-errors'); if (args.delete) params.unshift('--delete');