File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/tauri-cli/src/interface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1183,7 +1183,7 @@ pub(crate) fn get_cargo_target_dir(args: &[String]) -> crate::Result<PathBuf> {
1183
1183
std:: env:: current_dir ( ) ?. join ( target)
1184
1184
} else {
1185
1185
get_cargo_metadata ( )
1186
- . with_context ( || "failed to get cargo metadata" ) ?
1186
+ . with_context ( || "failed to run ' cargo metadata' command to get target directory " ) ?
1187
1187
. target_directory
1188
1188
} ;
1189
1189
@@ -1221,7 +1221,7 @@ fn get_cargo_option<'a>(args: &'a [String], option: &'a str) -> Option<&'a str>
1221
1221
pub fn get_workspace_dir ( ) -> crate :: Result < PathBuf > {
1222
1222
Ok (
1223
1223
get_cargo_metadata ( )
1224
- . context ( "failed to get cargo metadata" ) ?
1224
+ . context ( "failed to run ' cargo metadata' command to get workspace directory " ) ?
1225
1225
. workspace_root ,
1226
1226
)
1227
1227
}
You can’t perform that action at this time.
0 commit comments