File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
collector/src/compile/execute Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -371,13 +371,13 @@ impl<'a> Processor for ProfileProcessor<'a> {
371
371
Profiler :: DepGraph => {
372
372
let tmp_file = filepath ( data. cwd , "dep_graph.txt" ) ;
373
373
let output =
374
- filepath ( self . output_dir , & out_file ( "dep-graph" ) ) . with_extension ( "txt" ) ;
374
+ filepath ( self . output_dir , & format ! ( "{}.txt" , out_file( "dep-graph" ) ) ) ;
375
375
376
376
fs:: copy ( tmp_file, output) ?;
377
377
378
378
let tmp_file = filepath ( data. cwd , "dep_graph.dot" ) ;
379
379
let output =
380
- filepath ( self . output_dir , & out_file ( "dep-graph" ) ) . with_extension ( "dot" ) ;
380
+ filepath ( self . output_dir , & format ! ( "{}.dot" , out_file( "dep-graph" ) ) ) ;
381
381
382
382
// May not exist if not incremental, but then that's OK.
383
383
fs:: copy ( tmp_file, output) ?;
You can’t perform that action at this time.
0 commit comments