fix: canonicalize path

This commit is contained in:
Shunsuke Shibayama 2023-07-15 22:52:23 +09:00
parent 072d62f7b3
commit 7e58b59914
5 changed files with 87 additions and 29 deletions

View file

@ -52,7 +52,7 @@ impl SharedCompilerResource {
pub fn inherit(&self, path: PathBuf) -> Self {
let mut _self = self.clone();
_self.promises.path = path;
_self.promises.path = path.into();
_self
}