Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 814 Bytes

how-to-fix-text-provider-kts.md

File metadata and controls

20 lines (15 loc) · 814 Bytes

The how-to-fix-text-provider.kts file

The how-to-fix-text-provider.kts file enables the injection of how-to-fix texts in markdown format for ORT issues into the reports.

You can use the how-to-fix-text-provider.kts example as the base script file to create your custom how-to-fix messages in the generated reports.

Command Line

To use the how-to-fix-text-provider.kts file put it to $ORT_CONFIG_DIR/how-to-fix-text-provider.kts or pass it to the --how-to-fix-text-provider-script option of the Reporter:

cli/build/install/ort/bin/ort report
  -i [evaluator-output-dir]/evaluation-result.yml
  -o [reporter-output-dir]
  --report-formats StaticHtml,WebApp
  --how-to-fix-text-provider-script $ORT_CONFIG_DIR/how-to-fix-text-provider.kts