From 80d669e6ebe29e7b2fedd22fcf7175f3a63535b7 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sun, 4 Apr 2021 08:21:32 +0200 Subject: [PATCH] chore: emit warning if is using multiple addresses --- src/lib/cli/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/cli/utils.ts b/src/lib/cli/utils.ts index cb60425eb..7c61e4d46 100644 --- a/src/lib/cli/utils.ts +++ b/src/lib/cli/utils.ts @@ -35,6 +35,7 @@ export function getListListenAddresses(argListen: string, configListen: any): an addresses = [argListen]; } else if (Array.isArray(configListen)) { addresses = configListen; + process.emitWarning('multiple addresses will be deprecated in the next major, only use one'); } else if (configListen) { addresses = [configListen]; } else {