@yawlabs/ctxlint 0.18.5 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.pre-commit-hooks.yaml +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/.pre-commit-hooks.yaml
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# Version-pinned so a checkout at `rev: vX.Y.Z` runs exactly that release
|
|
5
5
|
# of ctxlint — matches the pinning done by `ctxlint init`. release.sh keeps
|
|
6
6
|
# this in sync with package.json on each bump.
|
|
7
|
-
entry: npx @yawlabs/ctxlint@0.18.
|
|
7
|
+
entry: npx @yawlabs/ctxlint@0.18.6 --strict
|
|
8
8
|
language: node
|
|
9
9
|
always_run: true
|
|
10
10
|
pass_filenames: false
|
package/dist/index.js
CHANGED
|
@@ -25480,6 +25480,7 @@ function extractCommandPaths(command, projectRoot, homeDir, platform) {
|
|
|
25480
25480
|
const token = t2.replace(/^['"]|['"]$/g, "");
|
|
25481
25481
|
const pathToken = stripMatcherWildcard(token);
|
|
25482
25482
|
if (isMsysFlag(pathToken)) continue;
|
|
25483
|
+
if (pathToken.includes("*")) continue;
|
|
25483
25484
|
if (!looksLikePath(pathToken)) continue;
|
|
25484
25485
|
out.push({ raw: token, resolved: expandPath(pathToken, projectRoot, homeDir, platform) });
|
|
25485
25486
|
}
|
|
@@ -27804,7 +27805,7 @@ import { readFileSync as readFileSync7 } from "node:fs";
|
|
|
27804
27805
|
import { resolve as resolve14, dirname as dirname6 } from "node:path";
|
|
27805
27806
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
27806
27807
|
function loadVersion() {
|
|
27807
|
-
if (true) return "0.18.
|
|
27808
|
+
if (true) return "0.18.5";
|
|
27808
27809
|
try {
|
|
27809
27810
|
const __dir = dirname6(fileURLToPath2(import.meta.url));
|
|
27810
27811
|
const pkgPath = resolve14(__dir, "../package.json");
|
package/package.json
CHANGED