Skip to content

Commit bd9cff7

Browse files
authored
chore(scripts): use lerna from yarn instead of node_modules (#4835)
1 parent 09e0146 commit bd9cff7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/benchmark-size/runner/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const validateRuntime = async () => {
1919
throw e;
2020
}
2121
try {
22-
await exec("./node_modules/.bin/lerna", ["--version"], {
22+
await exec("yarn", ["lerna", "--version"], {
2323
cwd: PROJECT_ROOT,
2424
});
2525
} catch (e) {

scripts/benchmark-size/runner/workspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const loadWorkspacePackages = async (options?: {
4444
}
4545
}
4646

47-
const { stdout } = await exec("./node_modules/.bin/lerna", args, {
47+
const { stdout } = await exec("yarn", ["lerna", ...args], {
4848
cwd: PROJECT_ROOT,
4949
encoding: "utf8",
5050
});

0 commit comments

Comments
 (0)