mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix: eliminate of unnecessary file escapes
This commit is contained in:
parent
3fc42f65e8
commit
3eb2d439ca
16 changed files with 110 additions and 130 deletions
|
@ -39,9 +39,7 @@ impl SharedCompilerResource {
|
|||
trait_impls: SharedTraitImpls::new(),
|
||||
promises: SharedPromises::new(
|
||||
graph,
|
||||
cfg.input
|
||||
.path()
|
||||
.map_or(PathBuf::default(), |p| p.canonicalize().unwrap_or_default()),
|
||||
cfg.input.path().canonicalize().unwrap_or_default(),
|
||||
),
|
||||
errors: SharedCompileErrors::new(),
|
||||
warns: SharedCompileWarnings::new(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue