Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Dec 17, 2024
1 parent d4bf1d0 commit 39deb42
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/manganis/manganis-macro/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ use syn::{
};

fn resolve_path(raw: &str) -> Result<PathBuf, AssetParseError> {
if raw.is_empty() {
return Err(AssetParseError::InvalidPath {
path: PathBuf::new(),
});
}

// Get the location of the root of the crate which is where all assets are relative to
//
// IE
Expand Down

0 comments on commit 39deb42

Please sign in to comment.