revert: correcting newline split for multiple user agents

Ref: f16a9fb331, #824
This commit is contained in:
Jef LeCompte
2020-11-19 18:05:50 -05:00
parent 5eb36a6cb7
commit af631c86f1
+2 -2
View File
@@ -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());