oxlint-tui 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tui.js +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint-tui",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "A Node TUI Oxlint rules and configuration browser",
5
5
  "type": "module",
6
6
  "bin": {
package/tui.js CHANGED
@@ -96,9 +96,7 @@ function runLint(type_aware) {
96
96
  : `npx -q --yes --package oxlint@${OXLINT_VERSION} -- oxlint`;
97
97
 
98
98
  exec(cmd, (error, stdout, stderr) => {
99
- const fullOutput = stdout + stderr;
100
-
101
- const summaryMatch = fullOutput.match(/Found (\d+) warnings? and (\d+) errors?/i);
99
+ const summaryMatch = stdout.match(/Found (\d+) warnings? and (\d+) errors?/i);
102
100
 
103
101
  state.isLinting = false;
104
102