Update parseEnvVar.ts

This commit is contained in:
Daniel Hougaard
2024-12-12 03:55:27 +04:00
parent c000a6f707
commit 4568370552

View File

@@ -15,7 +15,6 @@ export const getKeyValue = (pastedContent: string, delimiters: string[]) => {
}
});
// Check if there's any content after the delimiter
const hasValueAfterDelimiter = pastedContent.length > firstDelimiterIndex + foundDelimiter.length;
if (firstDelimiterIndex === -1 || !hasValueAfterDelimiter) {