@sentio/cli 2.18.5-rc.1 → 2.18.5-rc.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.
- package/lib/index.js +2 -2
- package/lib/index.js.map +2 -2
- package/package.json +1 -1
- package/src/execution.ts +3 -2
- package/templates/aptos/tsconfig.json +3 -1
- package/templates/eth/tsconfig.json +3 -1
- package/templates/fuel/tsconfig.json +3 -1
- package/templates/raw/tsconfig.json +3 -1
- package/templates/solana/tsconfig.json +3 -1
package/lib/index.js
CHANGED
|
@@ -85705,10 +85705,10 @@ function writeABIFile(obj, output2) {
|
|
|
85705
85705
|
|
|
85706
85706
|
// src/execution.ts
|
|
85707
85707
|
init_cjs_shim();
|
|
85708
|
-
import { execFile } from "child_process";
|
|
85708
|
+
import { exec, execFile } from "child_process";
|
|
85709
85709
|
import process4 from "process";
|
|
85710
85710
|
async function execStep(cmds, stepName, options) {
|
|
85711
|
-
const child = execFile(cmds[0], cmds.slice(1), options);
|
|
85711
|
+
const child = process4.platform === "win32" ? exec(cmds.join(" ")) : execFile(cmds[0], cmds.slice(1), options);
|
|
85712
85712
|
console.log(source_default.blue(stepName + " begin"));
|
|
85713
85713
|
if (!child.stdout || !child.stderr) {
|
|
85714
85714
|
console.error(source_default.red(stepName + " failed"));
|