diff --git a/cyan/functions/normal.ts b/cyan/functions/normal.ts index b611a22..c37abeb 100644 --- a/cyan/functions/normal.ts +++ b/cyan/functions/normal.ts @@ -9,7 +9,7 @@ export async function normalPrompt(i: IInquirer, d: IDeterminism): Promise const pc = await i.confirm('Include Pre-Commit Hooks'); const folder = standard ? 'templates/normal/standard' : 'templates/normal/empty'; - const folderExclude = pc ? [] : ['pre-commit.nix', 'fmt.nix']; + const folderExclude = pc ? [] : ['**/pre-commit.nix', '**/fmt.nix']; const precommit = pc ? 'templates/normal/with-pc' : 'templates/normal/without-pc'; return {