empty check
This commit is contained in:
parent
8260bd8e4c
commit
808eefc303
2
main.js
2
main.js
|
@ -135,7 +135,7 @@ async function main() {
|
|||
|
||||
if (imageTag != "trusty") {
|
||||
core.startGroup("Install build dependencies")
|
||||
releases = Array.prototype.concat(targetReleases.split(" ").map(function (item) {
|
||||
releases = (targetReleases == "") ? [] : Array.prototype.concat(targetReleases.split(" ").map(function (item) {
|
||||
return ["-t", item]
|
||||
}))
|
||||
console.log(targetReleases)
|
||||
|
|
Loading…
Reference in a new issue