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] Resolve properly absolute path for ui5HomeDir #588

Merged
merged 3 commits into from
Mar 7, 2023

Conversation

d3xter666
Copy link
Contributor

This fix resolves SAP/ui5-tooling#796

The core issue is that in particular CI environments os.homedir() might be enforced to return a relative path.
We rely only on absolute paths in the tooling, so we'd need to ensure this.

@d3xter666 d3xter666 requested review from matz3 and a team March 7, 2023 09:37
@coveralls
Copy link

coveralls commented Mar 7, 2023

Coverage Status

Coverage: 95.572%. Remained the same when pulling 8a8c562 on fix-resolve-relative-paths into f081502 on main.

lib/ui5Framework/AbstractResolver.js Outdated Show resolved Hide resolved
@d3xter666 d3xter666 requested review from matz3 and a team March 7, 2023 11:22
@d3xter666 d3xter666 merged commit 9b414a7 into main Mar 7, 2023
@d3xter666 d3xter666 deleted the fix-resolve-relative-paths branch March 7, 2023 14:00
d3xter666 added a commit that referenced this pull request Mar 30, 2023
d3xter666 added a commit that referenced this pull request Apr 3, 2023
d3xter666 added a commit that referenced this pull request Apr 12, 2023
d3xter666 added a commit that referenced this pull request Apr 12, 2023
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.

Build fails with "Could not create Module: Parameter 'modulePath' must contain an absolute path"
3 participants