refactor(build-system): fix lint issues

pull/2634/merge
Anthony Lapenna 2019-01-31 11:38:27 +13:00
parent 576f369152
commit cea2c60b55
1 changed files with 3 additions and 4 deletions

View File

@ -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 }
};
};