Skip to content

Commit

Permalink
Allow remote download by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrv committed Jun 29, 2017
1 parent ec55faa commit 45d290f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export class Cache {
this.fetchQueue = new TaskQueue(Promise, options.concurrency || 2);

this.allowLocal = options.allowLocal || false;
this.allowRemote = options.allowRemote || false;
this.allowRemote = options.allowRemote || !('allowRemote' in options);

this.forceHost = options.forceHost;
this.forcePort = options.forcePort;
this.cwd = options.cwd || '.';
Expand Down

0 comments on commit 45d290f

Please sign in to comment.