Skip to content

Commit 804e8cb

Browse files
committed
[fix] include http2 in message
1 parent e7b04ae commit 804e8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function normalizeOptions(options) {
9090
const http2 = normalizeHttpsOptions(options.http2, options);
9191

9292
if (!http && !https && !http2) {
93-
throw new Error('http and/or https are required options');
93+
throw new Error('http, https, and/or http2 are required options');
9494
}
9595

9696
return {

0 commit comments

Comments
 (0)