Skip to content

Fix Windows filepath separator bug#195

Merged
rubenv merged 1 commit intorubenv:masterfrom
fredericobormann:master
Jun 14, 2021
Merged

Fix Windows filepath separator bug#195
rubenv merged 1 commit intorubenv:masterfrom
fredericobormann:master

Conversation

@fredericobormann
Copy link
Contributor

The implementation uses the FileSystem of the http package which uses "/" as a separator in paths regardless of the operating system. However, the filepath.join-method creates a path using the system-specific separator ("\" for Windows, see documentation) which results in a http: invalid character in file path-error in the migrationFromFile-method. Using the path.join-method instead resolves this issue.

@rubenv
Copy link
Owner

rubenv commented Jun 14, 2021

Makes sense! Thanks!

@rubenv rubenv merged commit 55d5740 into rubenv:master Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants