Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Fix bug when specifying version
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Sep 13, 2016
1 parent c2939bf commit f87d1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dotnet-commands/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ dotnet commands --version
command = commandParts[0];
try
{
packageVersion = NuGet.Versioning.SemanticVersion.Parse(commandParts[0]);
packageVersion = NuGet.Versioning.SemanticVersion.Parse(commandParts[1]);
}
catch (ArgumentException)
{
Expand Down
2 changes: 1 addition & 1 deletion src/dotnet-commands/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.5.1",
"version": "0.5.2",
"description": "A .NET CLI Commands library.",
"dependencies": {
"Microsoft.NETCore.App": {
Expand Down

0 comments on commit f87d1d0

Please sign in to comment.