cspell 8.10.4 → 8.11.0

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.
@@ -43,7 +43,7 @@ export function commandCheck(prog) {
43
43
  console.log();
44
44
  }
45
45
  if (issueCount) {
46
- const exitCode = useExitCode ?? true ? 1 : 0;
46
+ const exitCode = (useExitCode ?? true) ? 1 : 0;
47
47
  throw new CheckFailed('Issues found', exitCode);
48
48
  }
49
49
  });
@@ -43,7 +43,7 @@ export function commandCheck(prog) {
43
43
  console.log();
44
44
  }
45
45
  if (issueCount) {
46
- const exitCode = useExitCode ?? true ? 1 : 0;
46
+ const exitCode = (useExitCode ?? true) ? 1 : 0;
47
47
  throw new CheckFailed('Issues found', exitCode);
48
48
  }
49
49
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell",
3
- "version": "8.10.4",
3
+ "version": "8.11.0",
4
4
  "description": "A Spelling Checker for Code!",
5
5
  "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
6
6
  "bin": {
@@ -82,17 +82,17 @@
82
82
  },
83
83
  "homepage": "https://streetsidesoftware.github.io/cspell/",
84
84
  "dependencies": {
85
- "@cspell/cspell-json-reporter": "8.10.4",
86
- "@cspell/cspell-pipe": "8.10.4",
87
- "@cspell/cspell-types": "8.10.4",
88
- "@cspell/dynamic-import": "8.10.4",
85
+ "@cspell/cspell-json-reporter": "8.11.0",
86
+ "@cspell/cspell-pipe": "8.11.0",
87
+ "@cspell/cspell-types": "8.11.0",
88
+ "@cspell/dynamic-import": "8.11.0",
89
89
  "chalk": "^5.3.0",
90
90
  "chalk-template": "^1.1.0",
91
91
  "commander": "^12.1.0",
92
- "cspell-gitignore": "8.10.4",
93
- "cspell-glob": "8.10.4",
94
- "cspell-io": "8.10.4",
95
- "cspell-lib": "8.10.4",
92
+ "cspell-gitignore": "8.11.0",
93
+ "cspell-glob": "8.11.0",
94
+ "cspell-io": "8.11.0",
95
+ "cspell-lib": "8.11.0",
96
96
  "fast-glob": "^3.3.2",
97
97
  "fast-json-stable-stringify": "^2.1.0",
98
98
  "file-entry-cache": "^8.0.0",
@@ -112,5 +112,5 @@
112
112
  "micromatch": "^4.0.7",
113
113
  "minimatch": "^9.0.5"
114
114
  },
115
- "gitHead": "96707a892a95a7e10dd5894e8cdd8f288b841c2f"
115
+ "gitHead": "2b85b2b458b1117870a4f0aee18fb45ce991848d"
116
116
  }