Permalink
Browse files

Fix #51, ignore basedir for useProxy = false.

  • Loading branch information...
1 parent f25fdb9 commit e70cc4150e8500f73ec7ed6594082fffeb8222aa @reid reid committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/client.js
View
@@ -23,7 +23,7 @@ var Blizzard = require("./blizzard");
* @param {Boolean} useProxy True if tests should be fetched over RPC, false otherwise.
*/
function ClientBatch(session, basedir, tests, useProxy) {
- if (!basedir) {
+ if (!basedir && useProxy) {
throw new Error("Basedir required.");
}

0 comments on commit e70cc41

Please sign in to comment.