Skip to content

Commit 9f3ed85

Browse files
committed
fix: properly handle silent mode in hermes.ts
1 parent 511e61a commit 9f3ed85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/host/src/node/cli/hermes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const command = new Command("vendor-hermes")
5555
successText: "Removed existing Hermes clone",
5656
failText: (error) =>
5757
`Failed to remove existing Hermes clone: ${error.message}`,
58-
isEnabled: !silent,
58+
isSilent: silent,
5959
}
6060
);
6161
}
@@ -84,7 +84,7 @@ export const command = new Command("vendor-hermes")
8484
successText: "Cloned custom Hermes",
8585
failText: (err) =>
8686
`Failed to clone custom Hermes: ${err.message}`,
87-
isEnabled: !silent,
87+
isSilent: silent,
8888
}
8989
);
9090
} catch (error) {
@@ -117,7 +117,7 @@ export const command = new Command("vendor-hermes")
117117
successText: "Copied JSI from patched Hermes to React Native",
118118
failText: (err) =>
119119
`Failed to copy JSI from Hermes to React Native: ${err.message}`,
120-
isEnabled: !silent,
120+
isSilent: silent,
121121
}
122122
);
123123
console.log(hermesPath);

0 commit comments

Comments
 (0)