Fix 'version' to display commit sha.

Fixes #1958
This commit is contained in:
Sridhar Periyasamy 2016-03-21 11:42:09 -07:00
parent 2a8161dc19
commit 11538d2d3d

View file

@ -160,7 +160,7 @@ namespace Microsoft.DotNet.Cli
private static string GetCommitSha()
{
// The CLI ships with a .version file that stores the commit information
var versionFile = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", ".version"));
var versionFile = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, ".version"));
if (File.Exists(versionFile))
{