|
|
@ -215,8 +215,8 @@ class File { |
|
|
|
.on('end', () => { |
|
|
|
// Emit a parse.end event with the url and filepath
|
|
|
|
fileStream.close(); |
|
|
|
resolve(path.basename(this.generatedpath)); |
|
|
|
emitter.emit('parse.end', { url: this.url, filepath: this.filepath, count: count - 1, generated: path.basename(this.generatedpath) }); |
|
|
|
resolve(path.basename(this.generatedpath)); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|