Skip to content

Commit 72cda16

Browse files
committed
formatting
1 parent 4fcb099 commit 72cda16

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Elastic.Documentation.Configuration/ConfigurationFileProvider.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public IFileInfo CreateNavigationFile(IReadOnlyDictionary<string, Repository> pr
6868

6969
var spacing = -1;
7070
var reindenting = -1;
71-
var breakingLine = string.Empty;
7271
foreach (var l in _fileSystem.File.ReadAllLines(NavigationFile.FullName))
7372
{
7473
var line = l;
@@ -95,10 +94,7 @@ public IFileInfo CreateNavigationFile(IReadOnlyDictionary<string, Repository> pr
9594
{
9695
var matches = Regex.Match(line, $@"^(?<spacing>\s+)-\s?toc:\s?(?:{targets})\:");
9796
if (matches.Success)
98-
{
9997
spacing = matches.Groups["spacing"].Value.Length;
100-
breakingLine = line;
101-
}
10298
if (spacing == 0)
10399
spacing = -1;
104100
}

0 commit comments

Comments
 (0)