chore: 0.0.7: bump deps & light code cleanup

This commit is contained in:
spushk 2026-10-05 23:43:03 +03:00 • committed by spushk
commit c44046aaa2
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -37,8 +37,11 @@ use sabry_procmacro_impl::impls::{
///
#[proc_macro]
pub fn scssy(input: TokenStream) -> TokenStream {
let source_path =
PathBuf::from_str(&proc_macro::Span::call_site().file()).expect("Irrefutable result");
let source_path = PathBuf::from_str(&proc_macro::Span::call_site().file())
.expect("Irrefutable result")
.parent()
.expect("The scssy procmacro callsite source file has no parent dir")
.to_owned();
scssy_macro_impl(input.into(), source_path).into()
}