aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/util/promises.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/promises.ts')
-rw-r--r--lib/util/promises.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/promises.ts b/lib/util/promises.ts
index 1b614aa036a..736437bc1db 100644
--- a/lib/util/promises.ts
+++ b/lib/util/promises.ts
@@ -10,7 +10,7 @@ function isExternalHostError(err: any): err is ExternalHostError {
return err instanceof ExternalHostError;
}
-export function handleMultipleErrors(errors: Error[]): never {
+function handleMultipleErrors(errors: Error[]): never {
const hostError = errors.find(isExternalHostError);
if (hostError) {
throw hostError;