diff --git a/src/GitReleaseNotes/Program.cs b/src/GitReleaseNotes/Program.cs index 9c3f3a5..6c805e3 100644 --- a/src/GitReleaseNotes/Program.cs +++ b/src/GitReleaseNotes/Program.cs @@ -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))