Skip to content

Commit

Permalink
use default hyperdrive storage for sleep arg
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Apr 19, 2017
1 parent 0ed1030 commit 0dfca37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = storage

function storage (dir, opts) {
if (opts.temp) return ram
if (typeof opts.sleep === 'string') return datStore(opts.sleep)
if (typeof opts.sleep === 'string') return opts.sleep
// if (typeof opts.sleep === 'string') return secretStore(datStore(opts.sleep))

mkdirp.sync(dir)
Expand Down

0 comments on commit 0dfca37

Please sign in to comment.