mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-12 06:07:12 +02:00
Trim input list items
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -12266,7 +12266,7 @@ function getInputList(name, ignoreComma) {
|
||||
}
|
||||
res.push(output.join(','));
|
||||
}
|
||||
return res.filter(item => item);
|
||||
return res.filter(item => item).map(pat => pat.trim());
|
||||
});
|
||||
}
|
||||
exports.getInputList = getInputList;
|
||||
|
Reference in New Issue
Block a user