Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge e903e35 into 713a729
Browse files Browse the repository at this point in the history
  • Loading branch information
navillasa committed Dec 12, 2017
2 parents 713a729 + e903e35 commit 65af0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ exports._isValidSize = function(size) {
exports.validate = function(config) {
assert(this._isValidPayoutAddress(config.paymentAddress),
'Invalid payout address');
assert(this._isValidDirectory(config.storagePath), 'Invalid directory');
assert(this._isValidDirectory(config.storagePath), `Invalid directory: ${config.storagePath} does not exist`);
assert(this._isValidSize(bytes.parse(config.storageAllocation)),
'Invalid storage size');
assert(this._isValidDirectory(config.storagePath),
Expand Down

0 comments on commit 65af0d5

Please sign in to comment.