mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
gradle plugin: corrected a logical error in _gradle_does_task_list_need_generating
This commit is contained in:
parent
d485044169
commit
801b150dbd
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ function in_gradle() {
|
|||
############################################################################
|
||||
_gradle_does_task_list_need_generating () {
|
||||
[ ! -f .gradletasknamecache ] && return 0;
|
||||
[ .gradletasknamecache -nt build.gradle ] && return 0;
|
||||
return 1;
|
||||
[ .gradletasknamecache -nt build.gradle ] && return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue