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', () => {
resolve();
})
.once('error', () => {
reject();
.once('error', (err) => {
reject(err);
});
stream.end();
});

Loading…
Cancel
Save