Skip to content

Commit f1a9268

Browse files
author
Ira Abramov
committed
Supercalifragelisticexpialidociousable
1 parent ff47ecd commit f1a9268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completion/available/gradle.completion.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ __gradle-generate-script-cache() {
7272
local gradle_build_scripts
7373
gradle_build_scripts=$(
7474
find "$project_root_dir" -type f \
75-
\( -name "*.gradle" -or -name "*.gradle.kts" \) 2> /dev/null \
75+
\( -name "*.gradle" -o -name "*.gradle.kts" \) 2> /dev/null \
7676
| grep -E -v "$script_exclude_pattern"
7777
)
7878
printf "%s\n" "${gradle_build_scripts[@]}" > "$cache_dir/$cache_name"
@@ -301,7 +301,7 @@ _gradle() {
301301
# Regenerate tasks cache in the background
302302
if [[ $gradle_files_checksum != "$(cat "$cache_dir/$cache_name.md5")" ||
303303
! -f "$cache_dir/$gradle_files_checksum" ]]; then
304-
__gradle-generate-tasks-cache &> /dev/null &
304+
(__gradle-generate-tasks-cache &> /dev/null &)
305305
fi
306306
else
307307
# Default tasks available outside Gradle projects

0 commit comments

Comments
 (0)