Skip to content

Commit b97ca67

Browse files
committed
wip
1 parent e028bf1 commit b97ca67

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

dist/index.mjs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6687,19 +6687,19 @@ function queueAsPromised (context, worker, _concurrency) {
66876687
}
66886688

66896689
function drained () {
6690-
if (queue.idle()) {
6691-
return new Promise(function (resolve) {
6692-
resolve()
6693-
})
6694-
}
6695-
6696-
var previousDrain = queue.drain
6697-
66986690
var p = new Promise(function (resolve) {
6699-
queue.drain = function () {
6700-
previousDrain()
6701-
resolve()
6702-
}
6691+
process.nextTick(function () {
6692+
if (queue.idle()) {
6693+
resolve()
6694+
} else {
6695+
var previousDrain = queue.drain
6696+
queue.drain = function () {
6697+
if (typeof previousDrain === 'function') previousDrain()
6698+
resolve()
6699+
queue.drain = previousDrain
6700+
}
6701+
}
6702+
})
67036703
})
67046704

67056705
return p
@@ -62802,7 +62802,7 @@ const pathPosix = external_node_path_namespaceObject.posix;
6280262802

6280362803
// Variables
6280462804
const packageName = "markdownlint-cli2";
62805-
const packageVersion = "0.16.0";
62805+
const packageVersion = "0.17.0";
6280662806
const libraryName = "markdownlint";
6280762807
const libraryVersion = getVersion();
6280862808
const bannerMessage = `${packageName} v${packageVersion} (${libraryName} v${libraryVersion})`;
@@ -62952,8 +62952,9 @@ const readOptionsOrConfig = async (configPath, fs, noImport) => {
6295262952
config = await importModule(dirname, basename, noImport);
6295362953
} else {
6295462954
throw new Error(
62955-
"File name should be (or end with) one of the supported types " +
62956-
"(e.g., '.markdownlint.json' or 'example.markdownlint-cli2.jsonc')."
62955+
"Configuration file should be one of the supported names " +
62956+
"(e.g., '.markdownlint-cli2.jsonc') or a prefix with a supported name " +
62957+
"(e.g., 'example.markdownlint-cli2.jsonc')."
6295762958
);
6295862959
}
6295962960
} catch (error) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@actions/core": "1.11.1",
25-
"markdownlint-cli2": "DavidAnson/markdownlint-cli2#next"
25+
"markdownlint-cli2": "0.17.0"
2626
},
2727
"devDependencies": {
2828
"@eslint/js": "9.16.0",

0 commit comments

Comments
 (0)