We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e19ff commit 9f6da36Copy full SHA for 9f6da36
1 file changed
apps/webapp/app/runEngine/services/triggerTask.server.ts
@@ -286,11 +286,13 @@ export class RunEngineTriggerTaskService {
286
)
287
: undefined;
288
289
- const tags = body.options?.tags
290
- ? typeof body.options.tags === "string"
291
- ? [body.options.tags]
292
- : body.options.tags
293
- : [];
+ const tags = (
+ body.options?.tags
+ ? typeof body.options.tags === "string"
+ ? [body.options.tags]
+ : body.options.tags
294
+ : []
295
+ ).filter((tag) => tag.trim().length > 0);
296
297
const depth = parentRun ? parentRun.depth + 1 : 0;
298
0 commit comments