Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't format if the notebook type is undetermined
In the event that `getNotebookType()` is null, an error is shown from within `getFormattersToUse()` because it can't determine the list of default formatters. This makes sense when using an unconfigured language, but in the event of null, this seems to mean the notebook isn't fully initialized and formatting shouldn't even be attempted.
- Loading branch information