Skip to content

Commit 8650152

Browse files
authored
Merge pull request #1111 from DanielRose/typo
Fix typo.
2 parents d4801d7 + e90c685 commit 8650152

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GitVersionCore.Tests/ConfigProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public void WarnOnObsoleteIsDevelopBranchConfigurationSetting()
322322
LegacyConfigNotifier.Notify(new StringReader(text));
323323
});
324324

325-
const string expectedMessage = @"'is-develop' is deprecated, use 'track-release-branches' instead.";
325+
const string expectedMessage = @"'is-develop' is deprecated, use 'tracks-release-branches' instead.";
326326
exception.Message.ShouldContain(expectedMessage);
327327
}
328328
}

src/GitVersionCore/Configuration/LegacyConfigNotifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void Notify(StringReader reader)
5353
issues.Add("release-branch-tag has been replaced by branch specific configuration. See http://gitversion.readthedocs.org/en/latest/configuration/#branch-configuration");
5454

5555
if (legacyConfig.Branches != null && legacyConfig.Branches.Any(branches => branches.Value.IsDevelop != null))
56-
issues.Add("'is-develop' is deprecated, use 'track-release-branches' instead. See http://gitversion.readthedocs.org/en/latest/configuration/#branch-configuration");
56+
issues.Add("'is-develop' is deprecated, use 'tracks-release-branches' instead. See http://gitversion.readthedocs.org/en/latest/configuration/#branch-configuration");
5757

5858
if (issues.Any())
5959
throw new OldConfigurationException("GitVersion configuration file contains old configuration, please fix the following errors:\r\n" + string.Join("\r\n", issues));

0 commit comments

Comments
 (0)