-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77c4772
commit 31cd315
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Fix resolving relative paths for `corral run` | ||
|
||
Corral was failing when running commands with a relative path to the binary. E.g. `../../build/debug/ponyc`. | ||
This change switches relative binary resolution from using [`FilePath.from`](https://stdlib.ponylang.io/files-FilePath/#from) to [`Path.join`](https://stdlib.ponylang.io/files-Path/#join), in order to not fail if a path points to a parent directory, which is an error condition for [`FilePath.from`](https://stdlib.ponylang.io/files-FilePath/#from). | ||
|
||
`corral run` now also resolves relative paths against the current working directory first, before checking the `$PATH` environment variable. | ||
|
||
## Improved Error messages for `corral run` | ||
|
||
`corral run` will now print more detailed error messages when it is not able to run the given command. | ||
|