From f16a9fb331fd38590325f399bde369ffa17dbe10 Mon Sep 17 00:00:00 2001 From: joslynesser Date: Wed, 18 Nov 2020 07:24:17 -0800 Subject: [PATCH] fix(config): correcting newline split for multiple user agents (#824) --- src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index ed9d152..79ed846 100644 --- a/src/config.ts +++ b/src/config.ts @@ -23,8 +23,8 @@ function envOrArray( array?: string[] ): string[] { return (environment - ? environment.includes('\n') - ? environment.split('\n') + ? environment.includes('\\n') + ? environment.split('\\n') : environment.split(',') : array ?? [] ).map((s) => s.trim());