Skip to content

Commit 5f5859d

Browse files
authored
Force installs with RECORD_REPLAY_CHROMIUM_DOWNLOAD_FILE (#628)
1 parent 82852c2 commit 5f5859d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/mean-feet-sing.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"replayio": minor
3+
---
4+
5+
When `RECORD_REPLAY_CHROMIUM_DOWNLOAD_FILE` environment variable is set installs will now always proceed to install the requested version

packages/replayio/src/commands/update.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ registerCommand("update", {
1818
async function update() {
1919
try {
2020
const [runtimeUpdateCheck, npmUpdateCheck] = await Promise.all([
21-
checkForRuntimeUpdate(),
21+
process.env.RECORD_REPLAY_CHROMIUM_DOWNLOAD_FILE
22+
? { hasUpdate: true }
23+
: checkForRuntimeUpdate(),
2224
checkForNpmUpdate(),
2325
]);
2426

0 commit comments

Comments
 (0)