Skip to content

Commit 75c92b8

Browse files
committed
wip: Fix sonar issue : Promise-returning method provided where a void return was expected by extended/implemented type 'Writable'. #13
1 parent db3cf7e commit 75c92b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/feathers-import-export/src/import.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ServiceWriteStream extends Writable {
1616
this.objectCount = 0
1717
}
1818

19-
async _write (chunk, encoding, next) {
19+
_write (chunk, encoding, next) {
2020
this.chunkCount++
2121
this.objectCount += Array.isArray(chunk) ? chunk.length : 1
2222
const process = async () => {

0 commit comments

Comments
 (0)