Skip to content

Commit

Permalink
fix: asset warnigns on windows (#3220)
Browse files Browse the repository at this point in the history
  • Loading branch information
DogeDark authored Nov 15, 2024
1 parent 992c2b0 commit 6da7226
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 @@ -85,7 +85,7 @@ impl ToTokens for AssetParser {
let option_source = &self.options;

// generate the asset::new method to deprecate the `./assets/blah.css` syntax
let method = if asset.input.is_relative() {
let method = if !asset.input.starts_with("/") {
quote::quote! { new_relative }
} else {
quote::quote! { new }
Expand Down

0 comments on commit 6da7226

Please sign in to comment.