File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ __gradle-generate-script-cache() {
72
72
local gradle_build_scripts
73
73
gradle_build_scripts=$(
74
74
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 \
76
76
| grep -E -v " $script_exclude_pattern "
77
77
)
78
78
printf " %s\n" " ${gradle_build_scripts[@]} " > " $cache_dir /$cache_name "
@@ -301,7 +301,7 @@ _gradle() {
301
301
# Regenerate tasks cache in the background
302
302
if [[ $gradle_files_checksum != " $( cat " $cache_dir /$cache_name .md5" ) " ||
303
303
! -f " $cache_dir /$gradle_files_checksum " ]]; then
304
- __gradle-generate-tasks-cache & > /dev/null &
304
+ ( __gradle-generate-tasks-cache & > /dev/null & )
305
305
fi
306
306
else
307
307
# Default tasks available outside Gradle projects
You can’t perform that action at this time.
0 commit comments