Skip to content

Commit

Permalink
Release build fix (#679)
Browse files Browse the repository at this point in the history
* in release builds the path is _flow_release_report_

* I'm so good at this
  • Loading branch information
therealryan authored Jan 5, 2024
1 parent 8814aa1 commit ebf7e56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,13 @@ void main() {
" 'skip' : 1,",
" 'error' : 1",
" },",
" 'path' : '%maskedroot%_flow_report_duct_target_DuctTest_valid/'",
" 'path' : '%maskedroot%_report_duct_target_DuctTest_valid/'",
"} ]" ),
copypasta( DuctTestUtil.index( Duct.PORT ).body
// the path is absolute, and we obviously can't know where this project is
// checked out
.replaceFirst(
"(\"path\" : \").*(_flow_report_duct_target_DuctTest_valid/\")",
"(\"path\" : \").*(_report_duct_target_DuctTest_valid/\")",
"$1%maskedroot%$2" ) ),
"the same call added the report to the existing instance" );
}
Expand Down

0 comments on commit ebf7e56

Please sign in to comment.