chore: 0.0.7: bump deps & light code cleanup
This commit is contained in:
parent
5d18f9201e
commit
8b8047de37
1 changed files with 601 additions and 2114 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue