pksunkara/cargo-workspaces

Create command errors out probably in new versions of cargo

sushruth opened this issue · 0 comments

This is how cargo output looks like to me in my workspace -

❯ cargo new --name foo --lib --edition 2021 lib/foo
    Creating library `foo` package
      Adding `foo` as member of workspace at `/home/sushruth/code/moarr`
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

This does not contain the word "Created" as checked in

if !stderr.contains("Created") {

This is breaking the create command. I am only speculating that it might be due to new versions. I have a PR out to potentially fix this too.