Browse Source

feat(nocodb): add err to reject

pull/4219/head
Wing-Kam Wong 2 years ago
parent
commit
df9721b1b8
  1. 4
      packages/nocodb/src/lib/utils/pluginUtils.ts

4
packages/nocodb/src/lib/utils/pluginUtils.ts

@ -8,8 +8,8 @@ export async function waitForStreamClose(
.once('finish', () => { .once('finish', () => {
resolve(); resolve();
}) })
.once('error', () => { .once('error', (err) => {
reject(); reject(err);
}); });
stream.end(); stream.end();
}); });

Loading…
Cancel
Save