Skip to content

Commit 94eda4d

Browse files
committed
Small touchups
1 parent 689bb62 commit 94eda4d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Nodejs/Product/Nodejs/Project/NodeModulesNode.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ private void ConditionallyShowNpmOutputPane() {
217217
}
218218

219219
#if INTEGRATE_WITH_ERROR_LIST
220-
221220
private ErrorListProvider _errorListProvider;
222221

223222
private ErrorListProvider GetErrorListProvider() {
@@ -351,8 +350,7 @@ private static string GetStatusBarMessage(NpmCommandCompletedEventArgs e) {
351350
return SR.GetString(
352351
e.Cancelled ? SR.NpmCancelledWithErrors : SR.NpmCompletedWithErrors,
353352
e.CommandText);
354-
}
355-
if (e.Cancelled) {
353+
} else if (e.Cancelled) {
356354
return SR.GetString(SR.NpmCancelled, e.CommandText);
357355
}
358356
return SR.GetString(SR.NpmSuccessfullyCompleted, e.CommandText);

0 commit comments

Comments
 (0)