Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 69f1b15

Browse files
author
N. Taylor Mullen
committed
Only return exit code != 0 if fatal error occurs.
- We were returning a 1 exit code in the case that we could not resolve a `TagHelper` assembly. This error isn't fatal and is logged/reported via the error sink.
1 parent e149b27 commit 69f1b15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dotnet-razor-tooling/Internal/ResolveTagHelpersCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ internal static void Register(CommandLineApplication app)
7777

7878
Reporter.Output.WriteLine(serializedResult);
7979

80-
return errorSink.Errors.Any() ? 1 : 0;
80+
return 0;
8181
});
8282
});
8383
}

0 commit comments

Comments
 (0)