Skip to content
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

Fix for exception on windows #483

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Fix for exception on windows #483

merged 1 commit into from
Apr 11, 2024

Conversation

dirkgroot
Copy link
Collaborator

@dirkgroot dirkgroot commented Apr 9, 2024

Fixes #463

@jp7677
Copy link
Contributor

jp7677 commented Apr 9, 2024

@dirkgroot May be a good idea to rebase this branch on top of main to have #484 included.

@dirkgroot dirkgroot force-pushed the fix-exception-on-windows branch from 9a5247c to 73efc25 Compare April 9, 2024 14:04
@dirkgroot
Copy link
Collaborator Author

@dirkgroot May be a good idea to rebase this branch on top of main to have #484 included.

Good idea, will do.

@dirkgroot dirkgroot force-pushed the fix-exception-on-windows branch from 73efc25 to da19fb8 Compare April 10, 2024 16:49
@jp7677
Copy link
Contributor

jp7677 commented Apr 11, 2024

May be reword the commit message since it seems to actually work :)

@dirkgroot dirkgroot changed the title Potential fix for exception on windows Fix for exception on windows Apr 11, 2024
`Path.of` uses OS-specific directory separators to generate a complete
path. This causes the problem reported in #463. This commit changes this
to use the `File` constructor instead of `Path.of`.
@dirkgroot dirkgroot force-pushed the fix-exception-on-windows branch from da19fb8 to 81a14bc Compare April 11, 2024 13:14
@dirkgroot dirkgroot merged commit 27a98d0 into main Apr 11, 2024
2 checks passed
dirkgroot added a commit that referenced this pull request May 21, 2024
Using the same API's that were used in #483 to fix #463.
@dirkgroot dirkgroot mentioned this pull request May 21, 2024
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.

Generating site on windows, exception - file referencing incorrect?
2 participants