diff --git a/src/Credfeto.ChangeLog.Tests/Credfeto.ChangeLog.Tests.csproj b/src/Credfeto.ChangeLog.Tests/Credfeto.ChangeLog.Tests.csproj index ce92ed74..c88bbb56 100644 --- a/src/Credfeto.ChangeLog.Tests/Credfeto.ChangeLog.Tests.csproj +++ b/src/Credfeto.ChangeLog.Tests/Credfeto.ChangeLog.Tests.csproj @@ -4,6 +4,7 @@ true true true + true strict;flow-analysis true false @@ -29,7 +30,6 @@ true true - true latest diff --git a/src/Credfeto.ChangeLog/ChangeLogChecker.cs b/src/Credfeto.ChangeLog/ChangeLogChecker.cs index 7eed5759..0501e17e 100644 --- a/src/Credfeto.ChangeLog/ChangeLogChecker.cs +++ b/src/Credfeto.ChangeLog/ChangeLogChecker.cs @@ -221,6 +221,6 @@ private static string GetChangeLogDirectory(string changeLogFileName) private static string FindChangeLogPositionInRepo(Repository repo, string changeLogFileName) { return changeLogFileName[repo.Info.WorkingDirectory.Length..] - .Replace(oldChar: '\\', newChar: '/'); + .Replace(oldChar: '\\', newChar: '/'); } } \ No newline at end of file diff --git a/src/Credfeto.ChangeLog/ChangeLogUpdater.cs b/src/Credfeto.ChangeLog/ChangeLogUpdater.cs index 9ffd582c..b616bd12 100644 --- a/src/Credfeto.ChangeLog/ChangeLogUpdater.cs +++ b/src/Credfeto.ChangeLog/ChangeLogUpdater.cs @@ -125,7 +125,12 @@ private static int FindRemovePosition(List changeLog, string type, strin findSection: false); } - private static int FindMatchPosition(List changeLog, string type, Func isMatch, Func exactMatchAction, Func emptySectionAction, bool findSection) + private static int FindMatchPosition(List changeLog, + string type, + Func isMatch, + Func exactMatchAction, + Func emptySectionAction, + bool findSection) { bool foundUnreleased = false; diff --git a/src/Credfeto.ChangeLog/Credfeto.ChangeLog.csproj b/src/Credfeto.ChangeLog/Credfeto.ChangeLog.csproj index 87fd0ded..6852542e 100644 --- a/src/Credfeto.ChangeLog/Credfeto.ChangeLog.csproj +++ b/src/Credfeto.ChangeLog/Credfeto.ChangeLog.csproj @@ -4,6 +4,7 @@ true true true + true strict;flow-analysis true false @@ -31,7 +32,6 @@ true true - true latest