Skip to content

Commit

Permalink
fix chopsticks
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrinded committed Nov 9, 2023
1 parent a415b7b commit 415c5d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/internal/commandParsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function parseChopsticksRunCmd(launchSpecs: ChopsticksLaunchSpec[]): {
if (launchSpecs.length === 1) {
const chopsticksCmd = "node";
const chopsticksArgs = [
"node_modules/@acala-network/chopsticks/chopsticks.js",
"node_modules/@acala-network/chopsticks/chopsticks.cjs",
`--config=${launchSpecs[0].configPath}`,
];

Expand Down Expand Up @@ -99,7 +99,7 @@ export function parseChopsticksRunCmd(launchSpecs: ChopsticksLaunchSpec[]): {
}

const chopsticksCmd = "node";
const chopsticksArgs = ["node_modules/@acala-network/chopsticks/chopsticks.js", "xcm"];
const chopsticksArgs = ["node_modules/@acala-network/chopsticks/chopsticks.cjs", "xcm"];

launchSpecs.forEach((spec) => {
const type = spec.type ? spec.type : "parachain";
Expand Down

0 comments on commit 415c5d1

Please sign in to comment.