empty check

This commit is contained in:
Enno Rehling 2022-06-17 18:22:02 +02:00
parent 8260bd8e4c
commit 808eefc303

View file

@ -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)