Skip to content

Commit

Permalink
fix: TypeError when trying to call console.log (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagayev authored Oct 4, 2022
1 parent 48521d7 commit 3f19fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PersistentFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PersistentFile extends EventEmitter {
}

toString() {
return `PersistentFile: ${this._file.newFilename}, Original: ${this._file.originalFilename}, Path: ${this._file.filepath}`;
return `PersistentFile: ${this.newFilename}, Original: ${this.originalFilename}, Path: ${this.filepath}`;
}

write(buffer, cb) {
Expand Down

0 comments on commit 3f19fe5

Please sign in to comment.