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

Commit f87d1d0

Browse files
committed
Fix bug when specifying version
1 parent c2939bf commit f87d1d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dotnet-commands/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ dotnet commands --version
7676
command = commandParts[0];
7777
try
7878
{
79-
packageVersion = NuGet.Versioning.SemanticVersion.Parse(commandParts[0]);
79+
packageVersion = NuGet.Versioning.SemanticVersion.Parse(commandParts[1]);
8080
}
8181
catch (ArgumentException)
8282
{

src/dotnet-commands/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.5.1",
2+
"version": "0.5.2",
33
"description": "A .NET CLI Commands library.",
44
"dependencies": {
55
"Microsoft.NETCore.App": {

0 commit comments

Comments
 (0)