GetRecursiveLines only when
StartAt and Destination are supplied nuget-lower HelperGenealogicalDataCommunication
This commit is contained in:
@ -1155,12 +1155,11 @@ internal static partial class HelperMarkdown
|
||||
relativeToCollection = GetRelativeToCollection(appSettings, input);
|
||||
logger.LogInformation("{updated} Markdown file(s) were updated", updated);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(input.StartAt))
|
||||
if (!string.IsNullOrEmpty(input.StartAt) && !string.IsNullOrEmpty(input.Destination))
|
||||
{
|
||||
relativeToCollection = GetRelativeToCollection(appSettings, input, force: true);
|
||||
List<MarkdownFileAndLines> markdownFileAndLinesCollection = GetRecursiveLines(appSettings, input, logger, relativeToCollection);
|
||||
if (!string.IsNullOrEmpty(input.Destination))
|
||||
Write(input, markdownFileAndLinesCollection);
|
||||
Write(input, markdownFileAndLinesCollection);
|
||||
}
|
||||
string directory = Path.Combine(Environment.CurrentDirectory, ".vscode");
|
||||
if (!Directory.Exists(directory))
|
||||
|
Reference in New Issue
Block a user