Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/silent-vendor-hermes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"react-native-node-api": patch
---

Make `vendor-hermes --silent` actually silent. The spinners were passed
`isEnabled: false`, which stops the animation but still writes the spinner text
and its final symbol to stderr. They now use `isSilent`, which suppresses the
output entirely, leaving the vendored Hermes path on stdout as the command's
only output.
4 changes: 2 additions & 2 deletions packages/host/src/node/cli/hermes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const command = new Command("vendor-hermes")
successText: "Removed existing Hermes clone",
failText: (error) =>
`Failed to remove existing Hermes clone: ${error.message}`,
isEnabled: !silent,
isSilent: silent,
},
);
}
Expand Down Expand Up @@ -123,7 +123,7 @@ export const command = new Command("vendor-hermes")
text: `Cloning Hermes into ${prettyPath(hermesPath)}`,
successText: "Cloned Hermes",
failText: (err) => `Failed to clone Hermes: ${err.message}`,
isEnabled: !silent,
isSilent: silent,
},
);
} catch (error) {
Expand Down
Loading