Skip to content

Commit

Permalink
🤌
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekrekr committed Mar 26, 2024
1 parent 1705657 commit 069c360
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,7 @@ const tagsOption: INamedOption<yargs.Options> = {
option: {
describe: "A list of tags to filter the actions to run.",
type: "array",
coerce: (rawTags: string[] | null) => {
const tags: string[] = [];
rawTags.forEach(rawTag =>
rawTag?.split(",").forEach(tag => {
tags.push(tag);
})
);
return tags;
}
coerce: (rawTags: string[] | null) => rawTags.map(tags => tags.split(",")).flat()
}
};

Expand Down

0 comments on commit 069c360

Please sign in to comment.