Skip to content

Commit 4be5d2d

Browse files
author
Guillaume Rouchon
committed
Renamed path variable for readability
1 parent fb04bec commit 4be5d2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitVersionCore/Configuration/ConfigurationProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ static string GetConfigFilePath(string workingDirectory, IFileSystem fileSystem)
152152
return ymlPath;
153153
}
154154

155-
var yamlPath = Path.Combine(workingDirectory, "GitVersionConfig.yaml");
156-
if (fileSystem.Exists(yamlPath))
155+
var deprecatedPath = Path.Combine(workingDirectory, "GitVersionConfig.yaml");
156+
if (fileSystem.Exists(deprecatedPath))
157157
{
158158
Logger.WriteWarning("'GitVersionConfig.yaml' is deprecated, use 'GitVersion.yml' instead.");
159159

160-
return yamlPath;
160+
return deprecatedPath;
161161
}
162162

163163
return ymlPath;

0 commit comments

Comments
 (0)