Skip to content

Commit

Permalink
Auto merge of #8822 - skrap:master, r=ehuss
Browse files Browse the repository at this point in the history
vendor: correct the path to cargo config

When running `cargo vendor`, users are prompted to add the configuration to their cargo config.  Unfortunately, the path named is not correct, as it's lacking the correct suffix.
  • Loading branch information
bors committed Oct 30, 2020
2 parents 7197c66 + 936acbc commit 03137ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fn vendor(ws: &Workspace<'_>, opts: &VendorOptions<'_>) -> CargoResult<()> {
if config.shell().verbosity() != Verbosity::Quiet {
crate::drop_eprint!(
config,
"To use vendored sources, add this to your .cargo/config for this project:\n\n"
"To use vendored sources, add this to your .cargo/config.toml for this project:\n\n"
);
crate::drop_print!(config, "{}", &toml::to_string(&vendor_config).unwrap());
}
Expand Down

0 comments on commit 03137ed

Please sign in to comment.