From a7ee00d1352c65aa65cdcc65679e71c2deb1e64f Mon Sep 17 00:00:00 2001 From: Nikhil Narayana Date: Wed, 6 Oct 2021 00:12:33 -0700 Subject: [PATCH] fix: another ini mangling issue --- src/dolphin/iniFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphin/iniFile.ts b/src/dolphin/iniFile.ts index 6ac429c92..93add8561 100644 --- a/src/dolphin/iniFile.ts +++ b/src/dolphin/iniFile.ts @@ -36,7 +36,7 @@ export class IniFile { retValueOut = line .substring(firstEquals + 1) .trim() - .replace(/['"]+/g, ""); + .replace(/(^"|"$)/g, ""); } return [keyOut, retValueOut] as const;