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 config file path resolution on windows #359

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

aryaemami59
Copy link
Contributor

This PR:

  • Fixes config file path resolution on windows. On windows sometimes you could get Error [ERR_UNSUPPORTED_ESM_URL_SCHEME] which should now be fixed due to usage of pathToFileURL.

@ai ai marked this pull request as ready for review March 16, 2024 04:17
@ai ai merged commit 1d07215 into ai:main Mar 16, 2024
3 checks passed
@aryaemami59 aryaemami59 deleted the fix-windows-paths branch March 16, 2024 04:20
@aryaemami59
Copy link
Contributor Author

For what it's worth I think I should probably try and make the tests OS agnostic so we can check for potentital issues like this during CI.

@ai
Copy link
Owner

ai commented Mar 16, 2024

We can add Windows to CI

@aryaemami59
Copy link
Contributor Author

@ai Yeah but the snapshots make the tests fail on windows.

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