File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ pub fn preflight(workspace_dir: &Path) -> anyhow::Result<()> {
213213 }
214214
215215 let status = Command :: new ( "bash" )
216- . arg ( & init_sh_path )
216+ . arg ( INIT_SH )
217217 . current_dir ( workspace_dir)
218218 . status ( )
219219 . with_context ( || format ! ( "run {}" , init_sh_path. display( ) ) ) ?;
@@ -357,7 +357,7 @@ Rules:
357357fn run_init_sh ( workspace_dir : & Path ) -> anyhow:: Result < ( ) > {
358358 let init_sh_path = workspace_dir. join ( INIT_SH ) ;
359359 let status = Command :: new ( "bash" )
360- . arg ( & init_sh_path )
360+ . arg ( INIT_SH )
361361 . current_dir ( workspace_dir)
362362 . status ( )
363363 . with_context ( || format ! ( "run {}" , init_sh_path. display( ) ) ) ?;
@@ -370,7 +370,7 @@ fn run_init_sh(workspace_dir: &Path) -> anyhow::Result<()> {
370370fn run_init_sh_capture ( workspace_dir : & Path ) -> anyhow:: Result < String > {
371371 let init_sh_path = workspace_dir. join ( INIT_SH ) ;
372372 let output = Command :: new ( "bash" )
373- . arg ( & init_sh_path )
373+ . arg ( INIT_SH )
374374 . current_dir ( workspace_dir)
375375 . output ( )
376376 . with_context ( || format ! ( "run {}" , init_sh_path. display( ) ) ) ?;
You can’t perform that action at this time.
0 commit comments