fix typo for version command (#5610)

This commit is contained in:
Justin Ma 2022-05-22 16:48:39 +08:00 committed by GitHub
parent 06f5199570
commit 1e89cc3578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ pub fn version(
let build_target: Option<&str> = Some(shadow::BUILD_TARGET).filter(|x| !x.is_empty()); let build_target: Option<&str> = Some(shadow::BUILD_TARGET).filter(|x| !x.is_empty());
if let Some(build_target) = build_target { if let Some(build_target) = build_target {
cols.push("build_os".to_string()); cols.push("build_target".to_string());
vals.push(Value::String { vals.push(Value::String {
val: build_target.to_string(), val: build_target.to_string(),
span: call.head, span: call.head,