diff --git a/.changeset/tame-timers-count.md b/.changeset/tame-timers-count.md new file mode 100644 index 00000000..7be0e0eb --- /dev/null +++ b/.changeset/tame-timers-count.md @@ -0,0 +1,5 @@ +--- +"barrelify": patch +--- + +Fix CI enforcement diff --git a/apps/barrelify/src/lib/barrel.ts b/apps/barrelify/src/lib/barrel.ts index 6856d755..3ba74638 100644 --- a/apps/barrelify/src/lib/barrel.ts +++ b/apps/barrelify/src/lib/barrel.ts @@ -90,7 +90,10 @@ export class Barrel { filePath, content: barrel, }, - { dryRun } + { + dryRun, + check: false, + } ); return updated; } diff --git a/apps/barrelify/src/tests/unit/lib/barrel.spec.ts b/apps/barrelify/src/tests/unit/lib/barrel.spec.ts index 1130d51a..2fb8cbc0 100644 --- a/apps/barrelify/src/tests/unit/lib/barrel.spec.ts +++ b/apps/barrelify/src/tests/unit/lib/barrel.spec.ts @@ -114,7 +114,10 @@ suite('barrel', () => { `, }, - { dryRun: false } + { + check: false, + dryRun: false, + } ) ).to.equal(true); }); @@ -159,7 +162,10 @@ suite('barrel', () => { `, }, - { dryRun: true } + { + check: false, + dryRun: true, + } ) ).to.equal(true); });