MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
186 stars 62 forks source link

Could not generate single file #126

Closed minik42 closed 1 year ago

minik42 commented 1 year ago

Hi, after new release I'm my pipeline stopped generating single file. I'm getting an error:

System.ArgumentException: D:\a\1\s/docs/changelog.md not found at azuredevops_export_wiki.SingleFileScanner.Scan() at azuredevops_export_wiki.WikiPDFExporter.Export()

Here is the command my pipeline was using:

Using command '"D:\a_temp\azuredevops-export-wiki.exe" -p "D:\a\1\s" -s "D:\a\1\s/docs/changelog.md" -o "D:\a\1\a/PDF/changelog.pdf" --css "D:\a\1\s/docs/styles.css" -v'

MaxMelcher commented 1 year ago

@minik42 can you please check again? There might be an issue if you run it with -p and -s with different root folder.

minik42 commented 1 year ago

Thank you, it's working perfectly now!