-
Notifications
You must be signed in to change notification settings - Fork 89
downloadFileContent(): Follow URL redirects in Node [#585] #586
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
Conversation
|
LGTM, but I am not a maintainer 😅. There are some tests for webr-workers, so maybe there is a way to test this feature. |
Error: 595:72 error Type number trivially inferred from a number literal, remove type annotation @typescript-eslint/no-inferrable-types
|
The GA build-webr checks produced: I address that in commit 1f2011e. @georgestagg , could please trigger a rerun? |
|
Yeah, the linter is configured to be quite picky… You may be able to check it locally quicker by cd-ing into |
Thx - worked like a charm. Confirming I could reproduce the lint error, which is gone in the most recent commit. |
georgestagg
left a comment
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.
LGTM!
If we wanted, we could add a test for download.file() in the same place as we already have a couple of tests that depend on networking here.
Happy to merge without, but it's an option if you'd like to add it. We'd need to test downloading a file from with a reasonable URL that will always be consistent and available.
|
I've added direct tests of I also added a test of |
|
Forgot to say, I finally got the build environment up so I could run: which passes with all OK. |
No description provided.