diff --git a/.github/workflows/sarif.yml b/.github/workflows/sarif.yml index e0ba2c1..6346622 100644 --- a/.github/workflows/sarif.yml +++ b/.github/workflows/sarif.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: npm install --no-package-lock - - run: node markdownlint-cli2.mjs --config .github/sarif.markdownlint-cli2.jsonc '**/README.md' '#node_modules' + - run: node markdownlint-cli2-bin.mjs --config .github/sarif.markdownlint-cli2.jsonc '**/README.md' '#node_modules' continue-on-error: true - uses: github/codeql-action/upload-sarif@v3 with: diff --git a/webworker/index.mjs b/webworker/index.mjs deleted file mode 100644 index 5abe053..0000000 --- a/webworker/index.mjs +++ /dev/null @@ -1,3 +0,0 @@ -// @ts-check - -export { main } from "../markdownlint-cli2.mjs"; diff --git a/webworker/webpack.config.cjs b/webworker/webpack.config.cjs index 6b9377b..df27c09 100644 --- a/webworker/webpack.config.cjs +++ b/webworker/webpack.config.cjs @@ -10,7 +10,7 @@ const nodeModulePrefixRe = /^node:/u; /** @type {import("webpack").Configuration} */ module.exports = { "target": "webworker", - "entry": "./index.mjs", + "entry": "../markdownlint-cli2.mjs", "output": { "path": __dirname, "filename": "markdownlint-cli2-webworker.cjs",