Skip to content

Commit

Permalink
Fixing release build (#678)
Browse files Browse the repository at this point in the history
in release builds the path is _flow_release_report_
  • Loading branch information
therealryan authored Jan 5, 2024
1 parent 615923b commit a6eedae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ void serve() {
" 'skip' : 1,",
" 'error' : 1",
" },",
" 'path' : '%maskedroot%_flow_report_duct_target_ServeTest_valid/'",
" 'path' : '%maskedroot%_report_duct_target_ServeTest_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_ServeTest_valid/\")",
"(\"path\" : \").*(_report_duct_target_ServeTest_valid/\")",
"$1%maskedroot%$2" ) ),
"the same call added the report to the existing instance" );
}
Expand Down

0 comments on commit a6eedae

Please sign in to comment.