Skip to content

Comments

Ease debugging package loading from build_runner#508

Merged
SuperAuguste merged 1 commit intozigtools:masterfrom
MageJohn:master
Jun 24, 2022
Merged

Ease debugging package loading from build_runner#508
SuperAuguste merged 1 commit intozigtools:masterfrom
MageJohn:master

Conversation

@MageJohn
Copy link
Contributor

I was having some issues with getting autocompletion of packages to work correctly in my project, and discovered that ZLS was ignoring exit codes other than 0, rather than reporting a failure. This PR fixes this.

I also changed the log level for package loading failure from debug to warn. If it happens it's usually a user problem, but it can look like a ZLS problem at first, so I think it's good to be proactive in telling users that there might be a problem with their build file.

@SuperAuguste
Copy link
Member

Succinct but effective fix, thank you so much! I'll let the CI run and then merge!

@SuperAuguste SuperAuguste merged commit 178e823 into zigtools:master Jun 24, 2022
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