fixed parsing .env with :

This commit is contained in:
Vladyslav Matsiiako
2023-07-27 19:40:39 -07:00
parent e1b25aaa54
commit 5ab218f1f8
2 changed files with 2 additions and 2 deletions
@@ -1,5 +1,5 @@
const LINE = const LINE =
/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm; /(?:^|^)\s*(?:export\s+)?([\w.-:]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;
/** /**
* Return text that is the buffer parsed * Return text that is the buffer parsed
@@ -433,7 +433,7 @@ export default function Organization() {
icon: faPlus, icon: faPlus,
time: "1 min", time: "1 min",
userAction: "first_time_secrets_pushed", userAction: "first_time_secrets_pushed",
link: `/project/${orgWorkspaces[0]?._id}/secrets` link: `/project/${orgWorkspaces[0]?._id}/secrets/overview`
})} })}
{learningItemSquare({ {learningItemSquare({
text: "Invite your teammates", text: "Invite your teammates",