@plumeria/eslint-plugin 16.2.1 → 16.2.3

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/bin/oxlint.js +7 -1
  2. package/package.json +1 -1
package/bin/oxlint.js CHANGED
@@ -48,7 +48,13 @@ if (!buildCommand) {
48
48
  let aborted = false;
49
49
 
50
50
  const oxlintChild = spawn('oxlint', oxlintArgs, { stdio: 'inherit' });
51
- const buildChild = spawn(buildCommand, buildArgs, {
51
+
52
+ const fullBuildCommand =
53
+ buildArgs.length > 0
54
+ ? [buildCommand, ...buildArgs].join(' ')
55
+ : buildCommand;
56
+
57
+ const buildChild = spawn(fullBuildCommand, {
52
58
  stdio: 'inherit',
53
59
  shell: true,
54
60
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/eslint-plugin",
3
- "version": "16.2.1",
3
+ "version": "16.2.3",
4
4
  "description": "Plumeria ESLint plugin",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",