From af631c86f1a74d810cabf2d0de1b7bb31d350095 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 19 Nov 2020 18:05:50 -0500 Subject: [PATCH] revert: correcting newline split for multiple user agents Ref: f16a9fb331fd38590325f399bde369ffa17dbe10, #824 --- src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 2bb7732..d3f683e 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());