Skip to content

Commit 04b8873

Browse files
authored
Merge pull request #178 from oeuftete/fix-find-warning
Fix warning on find
2 parents 685b0a5 + 69f306f commit 04b8873

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ github compare-link with the previous one.
1111

1212
## [Unreleased](https://github.com/asdf-community/asdf-direnv/compare/v0.3.0..master)
1313

14+
- Fix `find` warning. #178
1415
- Add '--no-touch-rc-file' option to prevent rc file modification during updates. #176
1516
- Alternatively, `export ASDF_DIRENV_NO_TOUCH_RC_FILE=1` to prevent rc file modification. #176
1617

lib/tools-environment-lib.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ _plugins_in_file() {
189189

190190
_all_plugins_list() {
191191
# NOTE: passing empty to `get_plugin_path` yields the plugins root.
192-
find "$(get_plugin_path "")" ! -name '.DS_Store' -maxdepth 1 -mindepth 1 -exec basename '{}' \;
192+
find "$(get_plugin_path "")" -maxdepth 1 -mindepth 1 ! -name '.DS_Store' -exec basename '{}' \;
193193
}
194194

195195
_except_local_plugins_list() {

0 commit comments

Comments
 (0)