Skip to content

Commit

Permalink
address pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SrodriguezO committed Jul 17, 2019
1 parent 25259e6 commit bb5066c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
cached remotely (but it may be cached locally; it may also be executed remotely).
Note: for the purposes of this tag, the disk-cache is considered a local cache, whereas
the http and gRPC caches are considered remote.
If a combined cache is specified (i.e. a cache with local and remote components),
it's treated as a remote cache and disabled entirely.
</li>

<li><code>no-remote-exec</code> keyword results in the action or test never being
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,6 @@ private void report(Event evt) {
}

private boolean isRemoteCache(RemoteOptions options) {
return !(options.diskCache != null && !options.diskCache.isEmpty());
return !isNullOrEmpty(options.remoteCache);
}
}

0 comments on commit bb5066c

Please sign in to comment.