@onivoro/onix 20.5.39 → 20.5.40
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/package.json
CHANGED
|
@@ -9,7 +9,7 @@ const object_to_env_exports_function_1 = require("./object-to-env-exports.functi
|
|
|
9
9
|
function pmxSpawn(context, command, env = {}) {
|
|
10
10
|
const { dlx } = (0, pm_function_1.pm)(context);
|
|
11
11
|
const envLiteral = (0, object_to_env_exports_function_1.objectToEnvExports)(env);
|
|
12
|
-
const completeCommand = `${envLiteral} ${dlx} ${command}`.trim();
|
|
12
|
+
const completeCommand = `${envLiteral ? (envLiteral + ' && ') : ''} ${dlx} ${command}`.trim();
|
|
13
13
|
devkit_1.logger.info(completeCommand);
|
|
14
14
|
const [program, ...args] = completeCommand.split(' ');
|
|
15
15
|
(0, child_process_1.spawnSync)(program, args, { stdio: 'inherit' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pmx.function.js","sourceRoot":"","sources":["../../../../onix/src/functions/pmx.function.ts"],"names":[],"mappings":";;AAQA,4BAYC;AAED,0BAQC;AA9BD,uCAGoB;AACpB,iDAAoD;AACpD,+CAAmC;AACnC,qFAAsE;AAEtE,SAAgB,QAAQ,CAAC,OAAwB,EAAE,OAAe,EAAE,MAA2B,EAAE;IAC7F,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,gBAAE,EAAC,OAAO,CAAC,CAAC;IAE5B,MAAM,UAAU,GAAG,IAAA,mDAAkB,EAAC,GAAG,CAAC,CAAC;IAE3C,MAAM,eAAe,GAAG,GAAG,UAAU,IAAI,GAAG,IAAI,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"pmx.function.js","sourceRoot":"","sources":["../../../../onix/src/functions/pmx.function.ts"],"names":[],"mappings":";;AAQA,4BAYC;AAED,0BAQC;AA9BD,uCAGoB;AACpB,iDAAoD;AACpD,+CAAmC;AACnC,qFAAsE;AAEt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