Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Should use current directory, not exe directory to run
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Ginnivan committed May 14, 2014
1 parent ede074b commit 8418e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitReleaseNotes/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private static int GenerateReleaseNotes(string[] args)
return 1;
}

var workingDirectory = arguments.WorkingDirectory ?? Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
var workingDirectory = arguments.WorkingDirectory ?? Directory.GetCurrentDirectory();

var gitDirectory = GitDirFinder.TreeWalkForGitDir(workingDirectory);
if (string.IsNullOrEmpty(gitDirectory))
Expand Down

0 comments on commit 8418e11

Please sign in to comment.