asset-pipe-sink-fs
Advanced tools
Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3
@@ -30,6 +30,7 @@ "use strict"; | ||
file.on('finish', () => { | ||
const fileName = hasher.hash + '.' + fileType; | ||
const id = hasher.hash; | ||
const fileName = id + '.' + fileType; | ||
fs.rename(temp, path.join(this.fileDir, fileName), () => { | ||
if (callback) { | ||
callback(fileName); | ||
callback(id, fileName); | ||
} | ||
@@ -36,0 +37,0 @@ }); |
{ | ||
"name": "asset-pipe-sink-fs", | ||
"version": "1.0.0-alpha.2", | ||
"version": "1.0.0-alpha.3", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Trygve Lie", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
665538
2084
0