fs-blob-store
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -16,3 +16,3 @@ var fs = require('fs') | ||
var toPath = function(base, hash) { | ||
return path.join(base, hash.slice(0, 2), hash.slice(2)) | ||
return hash ? path.join(base, hash.slice(0, 2), hash.slice(2)) : base | ||
} | ||
@@ -19,0 +19,0 @@ |
{ | ||
"name": "fs-blob-store", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Streamable content addressable blob object store that is streams2 and implements the blob store interface on top of the fs module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8751
8