Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Merge #384
Browse files Browse the repository at this point in the history
384: update create message r=D4nte a=da-kami

comit-scripts now handles start-env.
one cannot run it with create-comit-app.

Co-authored-by: Daniel Karzel <daniel.karzel@coblox.tech>
Co-authored-by: Franck Royer <franck@coblox.tech>
  • Loading branch information
3 people authored Feb 1, 2020
2 parents 56c7ebc + d72be3b commit 6d406f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion create/src/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub async fn new(name: String) -> io::Result<()> {

replace_project_name_in_file(package_json_path.as_path(), name.as_ref()).await?;

println!("Your project `{}` has been created!\nNow, start your development environment by running `create-comit-app start-env`", name);
println!("Your project `{}` has been created!", name);

Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/src/env/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mod start;

pub async fn start() {
if crate::temp_fs::dir_exist().await {
eprintln!("It seems that `create-comit-app start-env` is already running.\nIf it is not the case, run `create-comit-app force-clean-env` and try again.");
eprintln!("It seems that `start-env` is already running.\nIf it is not the case, run `yarn comit-scripts force-clean-env` and try again.");
::std::process::exit(1);
}

Expand Down

0 comments on commit 6d406f6

Please sign in to comment.