Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Dec 27, 2024
1 parent e028bf1 commit b97ca67
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
31 changes: 16 additions & 15 deletions dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6687,19 +6687,19 @@ function queueAsPromised (context, worker, _concurrency) {
}

function drained () {
if (queue.idle()) {
return new Promise(function (resolve) {
resolve()
})
}

var previousDrain = queue.drain

var p = new Promise(function (resolve) {
queue.drain = function () {
previousDrain()
resolve()
}
process.nextTick(function () {
if (queue.idle()) {
resolve()
} else {
var previousDrain = queue.drain
queue.drain = function () {
if (typeof previousDrain === 'function') previousDrain()
resolve()
queue.drain = previousDrain
}
}
})
})

return p
Expand Down Expand Up @@ -62802,7 +62802,7 @@ const pathPosix = external_node_path_namespaceObject.posix;

// Variables
const packageName = "markdownlint-cli2";
const packageVersion = "0.16.0";
const packageVersion = "0.17.0";
const libraryName = "markdownlint";
const libraryVersion = getVersion();
const bannerMessage = `${packageName} v${packageVersion} (${libraryName} v${libraryVersion})`;
Expand Down Expand Up @@ -62952,8 +62952,9 @@ const readOptionsOrConfig = async (configPath, fs, noImport) => {
config = await importModule(dirname, basename, noImport);
} else {
throw new Error(
"File name should be (or end with) one of the supported types " +
"(e.g., '.markdownlint.json' or 'example.markdownlint-cli2.jsonc')."
"Configuration file should be one of the supported names " +
"(e.g., '.markdownlint-cli2.jsonc') or a prefix with a supported name " +
"(e.g., 'example.markdownlint-cli2.jsonc')."
);
}
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@actions/core": "1.11.1",
"markdownlint-cli2": "DavidAnson/markdownlint-cli2#next"
"markdownlint-cli2": "0.17.0"
},
"devDependencies": {
"@eslint/js": "9.16.0",
Expand Down

0 comments on commit b97ca67

Please sign in to comment.