mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
parent
1d4c837abe
commit
2d532ad0ea
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ impl SharedCompilerResource {
|
|||
graph,
|
||||
cfg.input
|
||||
.path()
|
||||
.map_or(PathBuf::default(), |p| p.canonicalize().unwrap()),
|
||||
.map_or(PathBuf::default(), |p| p.canonicalize().unwrap_or_default()),
|
||||
),
|
||||
errors: SharedCompileErrors::new(),
|
||||
warns: SharedCompileWarnings::new(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue