Skip to content

Commit a813539

Browse files
authored
chore(cargo-shuttle): update command hint (#2046)
1 parent 8e055e1 commit a813539

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

cargo-shuttle/src/lib.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ impl Shuttle {
555555
eprintln!();
556556

557557
// 6. Confirm that the user wants to create the project environment on Shuttle
558-
let should_create_environment = if !interactive {
558+
let should_create_project = if !interactive {
559559
args.create_env
560560
} else if args.create_env {
561561
true
@@ -575,7 +575,7 @@ impl Shuttle {
575575
should_create
576576
};
577577

578-
if should_create_environment {
578+
if should_create_project {
579579
// Set the project working directory path to the init path,
580580
// so `load_project` is ran with the correct project path
581581
project_args.working_directory.clone_from(&path);
@@ -586,10 +586,7 @@ impl Shuttle {
586586
if std::env::current_dir().is_ok_and(|d| d != path) {
587587
eprintln!("You can `cd` to the directory, then:");
588588
}
589-
eprintln!("Run `shuttle run` to run the app locally.");
590-
if !should_create_environment {
591-
eprintln!("Run `shuttle deploy` to deploy it to Shuttle.");
592-
}
589+
eprintln!("Run `shuttle deploy` to deploy it to Shuttle.");
593590

594591
Ok(())
595592
}

0 commit comments

Comments
 (0)