Skip to content

Commit

Permalink
fix: Return promise from download binary when `SENTRYCLI_SKIP_DOWNLOA…
Browse files Browse the repository at this point in the history
…D` is set (#1869)
  • Loading branch information
lforst committed Dec 20, 2023
1 parent d7442ee commit c2cd6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function checkVersion() {
function downloadBinary(logger = ttyLogger) {
if (process.env.SENTRYCLI_SKIP_DOWNLOAD === '1') {
logger.log(`Skipping download because SENTRYCLI_SKIP_DOWNLOAD=1 detected.`);
return;
return Promise.resolve();
}

const arch = os.arch();
Expand Down

0 comments on commit c2cd6f4

Please sign in to comment.