Skip to content

Improve output when there is an empty package.yml#25

Merged
alexevanczuk merged 5 commits intomainfrom
ae-fix-parsing-error
May 1, 2023
Merged

Improve output when there is an empty package.yml#25
alexevanczuk merged 5 commits intomainfrom
ae-fix-parsing-error

Conversation

@alexevanczuk
Copy link
Copy Markdown
Contributor

This came up during the RailsConf workshop. A user was seeing the behavior demonstrated in the test written in the first commit.

In this case, the user vendored in their gems in vendor/bundle, which had this file: https://github.com/Shopify/packwerk/blob/main/test/fixtures/blank/package.yml

This test fixture from packwerk caused ParsePackwerk to break when scanning for packages.

Before, there would be no helpful output to indicate what file it was failing on, making it harder to adopt.

@alexevanczuk alexevanczuk requested a review from shageman May 1, 2023 15:08
@alexevanczuk alexevanczuk merged commit af99097 into main May 1, 2023
@alexevanczuk alexevanczuk deleted the ae-fix-parsing-error branch May 1, 2023 16:36
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.

1 participant