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: fix sparo profile load path in SparoProfileService #16

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

EscapeB
Copy link
Member

@EscapeB EscapeB commented Feb 22, 2024

Basic Checks

Have you run rush change for this change?

  • Yes
  • No

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Summary

Fix load path in SparoProfileService.

Detail

If execute sparo inside a nested folder, sparo will throw errors like
image

This PR fixes this error by using path.resolve and calculate absolute path of sparo profiles folder with repoRoot

@octogonz octogonz merged commit 4f38fcb into tiktok:main Feb 22, 2024
1 check passed
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