diff --git a/.github/workflows/standard-js.yml b/.github/workflows/standard-js.yml index 584ba57e49..c7d3ce2921 100644 --- a/.github/workflows/standard-js.yml +++ b/.github/workflows/standard-js.yml @@ -26,8 +26,8 @@ jobs: run: npm install - name: Run StandardJS on standardjs.js - working-directory: ./install - run: npx standard ./test/standardjs.js + working-directory: ./test + run: npx standard ./standardjs.js - name: Report StandardJS issues if: failure() diff --git a/test/standardjs.js b/test/standardjs.js index d2a108613c..0aa5fbf81c 100644 --- a/test/standardjs.js +++ b/test/standardjs.js @@ -1,6 +1,7 @@ /* eslint-disable */ // Generated by ChatGPT to test StandardJS abilities for catching and fixing errors +// This file is the only file that is checked by the workflow. function isEven (num) { return num % 2 === 0