Skip to content

Commit

Permalink
Apply auto-build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat authored and github-actions[bot] committed Jun 10, 2024
1 parent 935ee37 commit b6a2df1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var plugin = function (args) {
var currentTags = [];
requiredTags.push("require".concat(requiredWorkerType));
if (requiredNodeTags) {
requiredTags = requiredTags.concat(requiredNodeTags.split(',').map(function (tag) { return tag.trim(); }));
requiredTags = requiredTags.concat(requiredNodeTags.split(','));
}
var currentWorkerType = args.workerType;
if (requiredWorkerType === 'CPUorGPU') {
Expand All @@ -86,8 +86,10 @@ var plugin = function (args) {
}
}
if (args.nodeTags) {
currentTags = currentTags.concat(args.nodeTags.split(',').map(function (tag) { return tag.trim(); }));
currentTags = currentTags.concat(args.nodeTags.split(','));
}
requiredTags = requiredTags.map(function (tag) { return tag.trim(); }).filter(function (tag) { return tag !== ''; });
currentTags = currentTags.map(function (tag) { return tag.trim(); }).filter(function (tag) { return tag !== ''; });
args.jobLog("Required Tags: ".concat(requiredTags.join(',')));
args.jobLog("Current Tags: ".concat(currentTags.join(',')));
var isSubset = true;
Expand Down

0 comments on commit b6a2df1

Please sign in to comment.