Skip to content

Commit

Permalink
Updates release notes for PR #216
Browse files Browse the repository at this point in the history
  • Loading branch information
ponylang-main committed Feb 13, 2022
1 parent 77c4772 commit 31cd315
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .release-notes/216.md

This file was deleted.

11 changes: 11 additions & 0 deletions .release-notes/next-release.md
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.

0 comments on commit 31cd315

Please sign in to comment.