Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjduffy committed Nov 20, 2023
1 parent 8d11216 commit ceac90a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/replay/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ commandWithGlobalOptions("rm-all")
.action(commandRemoveAllRecordings);

commandWithGlobalOptions("update-browsers")
.description("Update your installed Replay runtimes. Optional argument: Comma-separated list of replay runtimes. Possible values: chromium,firefox.\n Node not yet supported.")
.description(
"Update your installed Replay runtimes. Optional argument: Comma-separated list of replay runtimes. Possible values: chromium,firefox.\n Node not yet supported."
)
.arguments("[<browsers...>]")
.action(commandUpdateBrowsers);

Expand Down Expand Up @@ -309,7 +311,11 @@ async function commandUpdateBrowsers(
try {
debug("Options", opts);

await updateBrowsers({ ...opts, browsers: browsers?.split(",").map(fuzzyBrowserName), verbose: true });
await updateBrowsers({
...opts,
browsers: browsers?.split(",").map(fuzzyBrowserName),
verbose: true,
});
process.exit(0);
} catch (e) {
console.error("Failed to updated browsers");
Expand Down

0 comments on commit ceac90a

Please sign in to comment.