diff options
Diffstat (limited to 'src/pipeline')
| -rw-r--r-- | src/pipeline/steps.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipeline/steps.rs b/src/pipeline/steps.rs index 061593b..efd3cdb 100644 --- a/src/pipeline/steps.rs +++ b/src/pipeline/steps.rs @@ -318,14 +318,14 @@ fn collect(ctx: &Ctx) -> Result<StepResult> { for path in entries { if std::fs::symlink_metadata(&path).map(|m| m.file_type().is_symlink()).unwrap_or(true) { return Err(Error::fail_closed(format!( - "{} is a symlink; a build may not smuggle bytes in from outside its own staging dir (I9)", + "{} is a symlink; a build may not smuggle bytes in from outside its own staging dir", path.display() ))); } let resolved = path.canonicalize()?; if !resolved.starts_with(&staging_root) { return Err(Error::fail_closed(format!( - "{} resolves outside this build's staging dir ({staging_root:?}); refusing to ingest it (I9)", + "{} resolves outside this build's staging dir ({staging_root:?}); refusing to ingest it", path.display() ))); } |
