-
Notifications
You must be signed in to change notification settings - Fork 201
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: remove leading slash on Windows #1230
base: main
Are you sure you want to change the base?
fix: remove leading slash on Windows #1230
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Ascenio!
Thanks for raising the PR. Could you make sure to add some tests to the change?
lib/src/commands/packages/commands/check/commands/licenses.dart
Outdated
Show resolved
Hide resolved
I think the tests kind of are already there because the only way to test this would be to validate the whole Just enabling the tests to run for windows would be enough. |
The problem is we can't enable all of them at once or else the pipeline will break. It has to be incremental, by adding |
Hi @Ascenio thanks for reaching back! I would like to keep this moving forward, but it might be blocked by us (maintainers) in terms of testing and CI. The CI is currently failing due to what is seems like the synthetic package deprecation. I've made #1246 (let me know if you would like to contribute there too). This week I will not be able to prioritize the work, but I've scheduled it for next week. |
Status
READY
Description
Removes leading
/
for file paths on Windows during license checking, by leveraging toFilePath instead of path.Fixes #1227.
Uri


Before:
Before:
Logs


Before:
After:
Type of Change