mirror of
https://github.com/starship/starship.git
synced 2024-10-05 01:43:46 +02:00
parent
e98c1b0ba0
commit
4cdd80dfaa
@ -235,7 +235,7 @@ fn get_cargo_version(context: &Context, config: &PackageConfig) -> Option<String
|
||||
.and_then(toml::Value::as_bool)
|
||||
.unwrap_or_default()
|
||||
{
|
||||
// workspace version string (`package.version.worspace = true`)
|
||||
// workspace version string (`package.version.workspace = true`)
|
||||
// need to read the Cargo.toml file from the workspace root
|
||||
let mut version = None;
|
||||
// discover the workspace root
|
||||
|
Loading…
Reference in New Issue
Block a user