Browse Source

Little fix

node10
root 1 year ago
parent
commit
184b68389c
  1. 2
      src/models/file.js

2
src/models/file.js

@ -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));
});
});
}

Loading…
Cancel
Save