Comparing version 1.6.1 to 1.6.2
@@ -244,2 +244,9 @@ /** | ||
if (error) { | ||
// when the object is not modified | ||
if (lastModified && error.code === 'NotModified') { | ||
cb(null, null, null); | ||
return; | ||
} | ||
cb(error, null, null); | ||
@@ -254,3 +261,4 @@ return; | ||
result = data.Body.toString(); | ||
resultLastModified = data.LastModified; | ||
resultLastModified = typeof data.LastModified === 'string' ? new Date(data.LastModified) : data.LastModified; | ||
} | ||
@@ -257,0 +265,0 @@ |
{ | ||
"name": "deep-fs", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "DEEP File System Library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
48921
965