From 84be94cf86be5459bb359de814b5297a78ed4fe5 Mon Sep 17 00:00:00 2001 From: Jacob Ley Date: Fri, 22 Nov 2024 04:02:06 +0000 Subject: [PATCH] barrelify: Fix CI enforcement --- .changeset/tame-timers-count.md | 5 +++++ apps/barrelify/src/lib/barrel.ts | 5 ++++- apps/barrelify/src/tests/unit/lib/barrel.spec.ts | 10 ++++++++-- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .changeset/tame-timers-count.md 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); });