Skip to content

Commit

Permalink
fix: remove precomit and fmt nix using glob
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Jan 2, 2025
1 parent 3bc7ac2 commit c9d62d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyan/functions/normal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function normalPrompt(i: IInquirer, d: IDeterminism): Promise<Cyan>
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 {
Expand Down

0 comments on commit c9d62d6

Please sign in to comment.