-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf(upgrade): cache downloaded binaries in DENO_DIR #28297
base: main
Are you sure you want to change the base?
Conversation
|
||
if let Some(bytes) = &maybe_bytes { | ||
fs::create_dir_all(binary_path.parent().unwrap())?; | ||
fs::write(&binary_path, bytes)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do users get the context about what happened when either of these fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as request changes for myself, as we need to fix tests first to not rely on remote server.
No description provided.