Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
πŸ”€ Merge pull request #2 from sakomg/develop
Browse files Browse the repository at this point in the history
Fix regex to parse env file
  • Loading branch information
AlexMubarakshin authored Jul 5, 2024
2 parents f3a788f + f0c77ec commit 76e8d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @returns {Array} - Array of accounts
*/
function parseEnvAccounts(envs) {
const accountRegex = /^(ACCOUNT_\d)+_(\S+)/;
const accountRegex = /^(ACCOUNT_\d+)_(\S+)/;
const accounts = {};

for (const key in envs) {
Expand Down

0 comments on commit 76e8d31

Please sign in to comment.