downloadFileContent(): Follow URL redirects in Node [#585]#586
downloadFileContent(): Follow URL redirects in Node [#585]#586georgestagg merged 7 commits intor-wasm:mainfrom
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.
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.