From e313f6639af5dd89ebb58efb2b2e66adb17dc4f4 Mon Sep 17 00:00:00 2001 From: Dipack Date: Thu, 14 Mar 2024 11:32:34 -0700 Subject: [PATCH] Remove and add comment. --- .github/workflows/ci.yml | 4 ++++ src/findAllWithRegex.ts | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a494d72..f864352 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,10 @@ jobs: with: node-version: 20.x - run: yarn install --immutable + + # The exclusion from the `git diff` is necessary because `yarn install` + # on CI modifies the `.pnp.cjs` file to change their actual locations + # but we don't care about that on CI. - run: yarn lint --quiet --fix && git diff --exit-code -- . ':(exclude)*.pnp.cjs' build-to-npm: diff --git a/src/findAllWithRegex.ts b/src/findAllWithRegex.ts index c238468..5608ad9 100644 --- a/src/findAllWithRegex.ts +++ b/src/findAllWithRegex.ts @@ -86,9 +86,6 @@ export function findAllWithRegex( // Check for another match = regex.value.exec(text); i += 1; - - // FIXME - console.log('TEST') } return results;