@travetto/asset
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -40,4 +40,4 @@ { | ||
}, | ||
"version": "0.4.1", | ||
"gitHead": "56dcc5bc1e70d9e61208be4128108a9c4f974f3d" | ||
"version": "0.4.2", | ||
"gitHead": "9fef4547aa2a3d666c8cf4efcffd162691814e9b" | ||
} |
@@ -91,3 +91,3 @@ import * as fs from 'fs'; | ||
const buffer = await this.readChunk(filePath, 262); | ||
return fileType(buffer) as { ext: string, mime: string }; | ||
return fileType(buffer) as { ext: string, mime: string } || {}; | ||
} | ||
@@ -94,0 +94,0 @@ |
13095