Skip to content

Commit

Permalink
Fixes #355: update log message (#356)
Browse files Browse the repository at this point in the history
* update Meadow.CLI update message

* update log dfu-util install log message
  • Loading branch information
thegreatco authored Sep 27, 2023
1 parent 0d25415 commit fef23e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Meadow.CLI/Commands/MeadowCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ public virtual async ValueTask ExecuteAsync(IConsole console)
if (updateExists)
{
logger.LogInformation(
"An update is available. Current Version {currentVersion} Latest Version {latestVersion}. Run `dotnet tool update WildernessLabs.Meadow.CLI --global` to update",
"A Meadow.CLI update is available. Current Version {currentVersion} Latest Version {latestVersion}.",
currentVersion,
latestVersion);
logger.LogInformation($"Run `dotnet tool update WildernessLabs.Meadow.CLI --global` to update. {Environment.NewLine}");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Meadow.CLI/Commands/Utility/InstallDfuUtilCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override async ValueTask ExecuteAsync(IConsole console)
}
else
{
_logger.LogInformation("To install on Windows, you'll need to open a Command Prompt or Terminal as an administrator");
_logger.LogInformation("To install dfu-util on Windows you'll need to open a Command Prompt or Terminal as an administrator and re-run the `meadow install dfu-util` command again.");
}
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
Expand Down

0 comments on commit fef23e3

Please sign in to comment.