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

Commit 8418e11

Browse files
author
Jake Ginnivan
committed
Should use current directory, not exe directory to run
1 parent ede074b commit 8418e11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GitReleaseNotes/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private static int GenerateReleaseNotes(string[] args)
5353
return 1;
5454
}
5555

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

5858
var gitDirectory = GitDirFinder.TreeWalkForGitDir(workingDirectory);
5959
if (string.IsNullOrEmpty(gitDirectory))

0 commit comments

Comments
 (0)