Fix a typo

This commit is contained in:
Jonas Platte 2020-10-28 12:53:06 +01:00 committed by Austin Bonander
parent 81ef89401e
commit f45f9ae8ed

View file

@ -81,7 +81,7 @@ pub fn check(url: &str, cargo_args: Vec<String>) -> anyhow::Result<()> {
fn run_prepare_step(cargo_args: Vec<String>) -> anyhow::Result<QueryData> {
// path to the Cargo executable
let cargo = env::var("CARGO")
.context("`prepare` subcommand may only be invoked as `cargo sqlx prepare``")?;
.context("`prepare` subcommand may only be invoked as `cargo sqlx prepare`")?;
let metadata = MetadataCommand::new()
.cargo_path(&cargo)