-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Always initialize filesystems for all schemes always
This was always done when running a script, but for archives it was deemed not needed as if it wasn't needed during the making of the archive it shouldn't be needed during it's running. The problem arises when a `require` is in a try block in order (to check if something is support for example). In that case if it isn't loaded (for example a nodejs module will not be loaded but will be resolved to an `https` url) it will not be cached. So if someone tries to run an archive from such a script and there were no https imports k6 will panic at runtime.
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters