Skip to content

Commit

Permalink
Fix comparison used to determine if the cache is outdated.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfjones authored and ncanceill committed Jun 2, 2014
1 parent ac1a321 commit b1c97bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gradle/gradle.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b1c97bc

Please sign in to comment.