Remove diagnostics lines that shouldn't have been committed