This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -260,14 +260,12 @@ private static void PrintVersion()
260260
261261 private static void PrintInfo ( )
262262 {
263- HelpCommand . PrintVersionHeader ( ) ;
264-
265263 DotnetVersionFile versionFile = DotnetFiles . VersionFileObject ;
266264 var commitSha = versionFile . CommitSha ?? "N/A" ;
267265 Reporter . Output . WriteLine ( ) ;
268- Reporter . Output . WriteLine ( "Product Information :" ) ;
269- Reporter . Output . WriteLine ( $ " Version: { Product . Version } ") ;
270- Reporter . Output . WriteLine ( $ " Commit SHA-1 hash: { commitSha } ") ;
266+ Reporter . Output . WriteLine ( ".NET Core SDK (reflecting any global.json) :" ) ;
267+ Reporter . Output . WriteLine ( $ " Version: { Product . Version } ") ;
268+ Reporter . Output . WriteLine ( $ " Commit: { commitSha } ") ;
271269 Reporter . Output . WriteLine ( ) ;
272270 Reporter . Output . WriteLine ( "Runtime Environment:" ) ;
273271 Reporter . Output . WriteLine ( $ " OS Name: { RuntimeEnvironment . OperatingSystem } ") ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public void UsingDotnetForTheFirstTimeSucceeds()
6060 [ Fact ]
6161 public void UsingDotnetForTheFirstTimeWithNonVerbsDoesNotPrintEula ( )
6262 {
63- string firstTimeNonVerbUseMessage = Cli . Utils . LocalizableStrings . DotNetCommandLineTools ;
63+ const string firstTimeNonVerbUseMessage = $ " { string . NewLine } .NET Core SDK (reflecting any global.json):" ;
6464
6565 _firstDotnetNonVerbUseCommandResult . StdOut
6666 . Should ( )
You can’t perform that action at this time.
0 commit comments