We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b74755 commit ba4be4bCopy full SHA for ba4be4b
src/config/config.ts
@@ -216,7 +216,7 @@ export class Config implements IConfig {
216
const timeout = new Promise((_, reject) => {
217
id = setTimeout(() => {
218
reject(new Error(`Timed out after ${ms} ms.`))
219
- }, ms)
+ }, ms).unref()
220
})
221
222
return Promise.race([promise, timeout]).then(result => {
@@ -265,7 +265,6 @@ export class Config implements IConfig {
265
} catch (error) {
266
failures.push({plugin: p, error: error as Error})
267
if (error && error.oclif && error.oclif.exit !== undefined) throw error
268
- this.warn(error, `runHook ${event}`)
269
}
270
271
0 commit comments