Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Dec 17, 2024
1 parent 39deb42 commit b29a401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/manganis/manganis-macro/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn resolve_path(raw: &str) -> Result<PathBuf, AssetParseError> {
});
};

// 3. Ensure the path doesn't escape the workspace
// 3. Ensure the path doesn't escape the crate dir
if path == manifest_dir || !path.starts_with(manifest_dir) {
return Err(AssetParseError::InvalidPath { path });
}
Expand Down

0 comments on commit b29a401

Please sign in to comment.