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(admin): windows files paths do not make for module paths #18797

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

joshuaellis
Copy link
Member

What does it do?

  • creates some utility functions for handling windows system vs module paths since they need to be handled especially unlike macos/linux

Why is it needed?

  • on windows, the app.js file was not being imported correctly

Related issue(s)/PR(s)

@joshuaellis joshuaellis added source: core:admin Source is core/admin package pr: fix This PR is fixing a bug labels Nov 15, 2023
@joshuaellis joshuaellis added this to the 4.15.5 milestone Nov 15, 2023
@joshuaellis joshuaellis self-assigned this Nov 15, 2023
@joshuaellis
Copy link
Member Author

@alexandrebodin this is what i was thinking, we do it in three places all in different areas, i think it makes more sense to have some utility functions to handle the behaviour & try to solve this all in the build context area

@Boegie19
Copy link
Collaborator

@joshuaellis can you when you are done working on this do an experimental so I can check if it fixes the issue?

@joshuaellis

This comment was marked as outdated.

Copy link
Contributor

@gu-stav gu-stav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

@Boegie19
Copy link
Collaborator

Checked it on windows and if fixes the issue

@joshuaellis

This comment was marked as outdated.

@joshuaellis
Copy link
Member Author

experimental – 0.0.0-experimental.70cc85706c9f5d5fb91aa258438a10cbc0a2acaf

Copy link
Member

@alexandrebodin alexandrebodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on mac let's wait for @Boegie19 to test on windows before merging

@Boegie19
Copy link
Collaborator

Tested it on windows and issue is fixed on 0.0.0-experimental.70cc85706c9f5d5fb91aa258438a10cbc0a2acaf aswell

@joshuaellis
Copy link
Member Author

Thanks all 🌞

@joshuaellis joshuaellis merged commit 2519224 into releases/4.15.5 Nov 15, 2023
22 checks passed
@joshuaellis joshuaellis deleted the chore/fix-windows-module-paths branch November 15, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix This PR is fixing a bug source: core:admin Source is core/admin package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants