Workaround for powerline: resurrect hasErrorsOrWarningsToDisplay().