We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5021782 commit 435a8e4Copy full SHA for 435a8e4
src/GitVersionCore/Configuration/NamedConfigFileLocator.cs
@@ -25,7 +25,7 @@ public override string GetConfigFilePath(string workingDirectory) =>
25
26
public override void Verify(string workingDirectory, string projectRootDirectory)
27
{
28
- if (!Path.IsPathRooted(FilePath))
+ if (!Path.IsPathRooted(FilePath) && !FileSystem.PathsEqual(workingDirectory, projectRootDirectory))
29
30
WarnAboutAmbiguousConfigFileSelection(workingDirectory, projectRootDirectory);
31
}
0 commit comments