parent
2a8161dc19
commit
11538d2d3d
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ namespace Microsoft.DotNet.Cli
|
||||||
private static string GetCommitSha()
|
private static string GetCommitSha()
|
||||||
{
|
{
|
||||||
// The CLI ships with a .version file that stores the commit information
|
// 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))
|
if (File.Exists(versionFile))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue