@staff0rd/assist 0.134.0 → 0.134.1

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/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.134.0",
9
+ version: "0.134.1",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -8902,8 +8902,8 @@ function add3() {
8902
8902
 
8903
8903
  // src/commands/run/index.ts
8904
8904
  function buildCommand(command, configArgs, extraArgs) {
8905
- const allArgs = [...configArgs, ...extraArgs];
8906
- return [shellQuote(command), ...allArgs.map(shellQuote)].join(" ");
8905
+ const parts = configArgs.length === 0 && command.includes(" ") ? command.split(" ") : [command, ...configArgs];
8906
+ return [...parts.map(shellQuote), ...extraArgs.map(shellQuote)].join(" ");
8907
8907
  }
8908
8908
  function printAvailableConfigs(configs) {
8909
8909
  console.error("Available configurations:");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.134.0",
3
+ "version": "0.134.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {