Skip to content
Browse files

Fix comparison used to determine if the cache is outdated.

  • Loading branch information...
1 parent ac1a321 commit b1c97bc77ef6e6922c6aed5bb7a2a86506407efc @dfjones dfjones committed with ncanceill
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/gradle/gradle.plugin.zsh
View
2 plugins/gradle/gradle.plugin.zsh
@@ -60,7 +60,7 @@ function in_gradle() {
############################################################################
_gradle_does_task_list_need_generating () {
[ ! -f .gradletasknamecache ] && return 0;
- [ .gradletasknamecache -nt build.gradle ] && return 0;
+ [ build.gradle -nt .gradletasknamecache ] && return 0;
return 1;
}

0 comments on commit b1c97bc

Please sign in to comment.
Something went wrong with that request. Please try again.