From cea2c60b555e8fe9e399b00c6a65c4b585d90798 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Thu, 31 Jan 2019 11:38:27 +1300 Subject: [PATCH] refactor(build-system): fix lint issues --- gruntfile.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 99760a25d..defcd07bf 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -285,11 +285,10 @@ function shell_buildBinary(p, a) { } function shell_buildBinaryOnDevOps(p, a) { - var binfile = 'portainer-' + p + '-' + a; if (p === 'linux') { - return 'build/build_binary_devops.sh ' + p + ' ' + a + ';' + return 'build/build_binary_devops.sh ' + p + ' ' + a + ';'; } else { - return 'powershell -Command ".\\build\\build_binary_devops.ps1 -platform ' + p + ' -arch ' + a + '"' + return 'powershell -Command ".\\build\\build_binary_devops.ps1 -platform ' + p + ' -arch ' + a + '"'; } } @@ -330,4 +329,4 @@ gruntfile_cfg.shell = { buildBinaryOnDevOps: { command: shell_buildBinaryOnDevOps }, run: { command: shell_run }, downloadDockerBinary: { command: shell_downloadDockerBinary } -}; \ No newline at end of file +};