Skip to content

Commit

Permalink
Add TODO comment for cross-platform path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Jul 27, 2024
1 parent 96c722c commit 36eb274
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/brioche-autopack/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ fn relative_template(
runnable_core::TemplateComponent::Literal { .. }
| runnable_core::TemplateComponent::Resource { .. } => eyre::Ok(component.clone()),
runnable_core::TemplateComponent::RelativePath { path } => {
// TODO: Handle path resolution in a cross-platform way.
// This could change based on the host platform

let path = path
.to_path()
.with_context(|| format!("failed to parse path {path:?}"))?;
Expand Down

0 comments on commit 36eb274

Please sign in to comment.