Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Guard against invalid TextEditor and empty paths #544

Merged
merged 1 commit into from
Dec 6, 2017

Conversation

Arcanemagus
Copy link
Member

Occasionally lint() somehow gets called with invalid TextEditors, or ones without a path. When these cases are hit simply return null instead of trying to process them.

Fixes #527.

Occasionally `lint()` somehow gets called with invalid `TextEditor`s, or
ones without a path. When these cases are hit simply return `null`
instead of trying to process them.

Fixes #527.
@Arcanemagus Arcanemagus added the bug label Dec 6, 2017
@Arcanemagus Arcanemagus self-assigned this Dec 6, 2017
@Arcanemagus Arcanemagus merged commit 80058bc into master Dec 6, 2017
@Arcanemagus Arcanemagus deleted the arcanemagus/path-guard branch December 6, 2017 17:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant