mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Fix problem with CLI paths
This commit is contained in:
parent
d6c54645ce
commit
e1fdabd5ef
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ pub fn build(matches: &ArgMatches, run_after_build: bool) -> io::Result<()> {
|
|||
} else {
|
||||
OptLevel::Normal
|
||||
};
|
||||
let path = Path::new(filename);
|
||||
let path = Path::new(filename).canonicalize().unwrap();
|
||||
let src_dir = path.parent().unwrap().canonicalize().unwrap();
|
||||
|
||||
// Create the runtime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue