Reading .order file in directory docs
ERR: Something bad happend.
System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex')
at System.String.Substring(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex)
at azuredevops_export_wiki.WikiPDFExporter.ReadOrderFiles(String path) in D:\Git\WikiPDFExport\AzureDevOps.WikiPDFExport\WikiPDFExporter.cs:line 467
at azuredevops_export_wiki.WikiPDFExporter.Export() in D:\Git\WikiPDFExport\AzureDevOps.WikiPDFExport\WikiPDFExporter.cs:line 85
This PR fixes issues if the relative path is at the root of path.
I ran into an error when running your script:
This PR fixes issues if the relative path is at the root of
path
.