Skip to content

Commit

Permalink
fix: error message for PATH with relative path (#21914)
Browse files Browse the repository at this point in the history
# Description

Fix the message for when there are relative paths on PATH.
  • Loading branch information
kevin-oliveira-zocdoc authored Feb 5, 2025
1 parent 4065cfc commit 8553a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/engine/src/intrinsics/digests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ fn path_metadata_request(single_path: Value) -> PyGeneratorResponseNativeCall {
}),
PyPathNamespace::System => SubjectPath::new_system(&path).map_err(|_| {
format!(
"path_metadata_request error: path for PathNamespace.SYSTEM must an absolute path. Instead, got `{}`", path
"path_metadata_request error: path for PathNamespace.SYSTEM must be an absolute path. Instead, got `{}`", path
)
}),
}
Expand Down

0 comments on commit 8553a76

Please sign in to comment.