Skip to content

Commit

Permalink
fix: filter none and no answers from sao (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir authored Jul 22, 2022
1 parent 2ef4345 commit ef5585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const getPluginsArray: (answers: Record<string, Answer>) => string[] = (
if (Array.isArray(value)) return [...(acc as string[]), ...value];
return acc;
}, [])
.filter((value: string) => value !== "none");
.filter((value: string) => value !== "none" && value !== "no");
};

export const getExtend: (
Expand Down

0 comments on commit ef5585a

Please sign in to comment.