-
Notifications
You must be signed in to change notification settings - Fork 16
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
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# go-script-bash v1.1.1 | ||
# go-script-bash v1.1.2 | ||
|
||
This is a bugfix release. | ||
|
||
|
@@ -16,16 +16,27 @@ This software is made available as [Open Source software](https://opensource.org | |
|
||
## What's new in this release | ||
|
||
### log: Replace `echo -e` with `printf` | ||
### modules: Improved error handling for `. "$_GO_USE_MODULES"` | ||
|
||
On at least one macOS 10.12.1 installation, `echo -e` under Bash 3.2.57(1)-release in Terminal.app wasn't converting `\e` sequences to actual ANSI escape sequences. Using `printf` instead resolves the issue. | ||
Previously, the `$_GO_USE_MODULES` script would report an `Unknown module:` error in every error case, even if the module existed but failed for another reason ([Issue #25](https://github.com/mbland/go-script-bash/issues/25)). The module's standard error would also get redirected to `/dev/null`, which made diagnosis even more difficult. | ||
|
||
## Changes since v1.1.0 | ||
Now any modules that actually exist but return an error when imported will be identified as such, rather than being reported as unknown, and standard error isn't redirected at all ([PR #26](https://github.com/mbland/go-script-bash/pull/26)). | ||
|
||
## Changes since v1.1.1 | ||
|
||
<pre> | ||
187715e Mike Bland <[email protected]> | ||
Merge pull request #24 from mbland/printf-esc-seqs | ||
22bace2 Mike Bland <[email protected]> | ||
Merge pull request #26 from mbland/module-import | ||
|
||
8833762 Mike Bland <[email protected]> | ||
use: Improve module import error message | ||
|
||
4bb94e2 Mike Bland <[email protected]> | ||
use: Nest module file path tests | ||
|
||
92bc468 Mike Bland <[email protected]> | ||
use: Detect module path before sourcing | ||
|
||
4bc05c8 Mike Bland <[email protected]> | ||
log: Replace `echo -e` with `printf` | ||
5ea7820 Mike Bland <[email protected]> | ||
modules: Fix incorrect help text | ||
</pre> |
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