Skip to content

Conversation

@ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Oct 29, 2020

I discovered this while playing around with the Mill BSP support since some of the build targets don't always have the baseDirectory set as it can be absent according to the spec. This was throwing a null pointer exception when we then tried to order by the base dir in the Doctor. In the case of null I just set it to an empty "" which only affects the ordering of the target in the Doctor or tree view.

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ckipp01 ckipp01 merged commit 85ff9dc into scalameta:main Oct 29, 2020
@ckipp01 ckipp01 deleted the nullPointer branch October 29, 2020 16:11
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