Skip to content

Commit

Permalink
Update verifyVaultSecrets.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbittryan authored Sep 26, 2024
1 parent 79a22cb commit 6f07c76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const envVarsRegex = /System\.(fetch_env!|fetch_env|get_env)\(["']([^"']+)["'](?:,\s*([^)]+))?\)/g;
const envVarsRegex = /System\.(get_env\/fetch_env\/fetch_env!|fetch_env!|fetch_env|get_env)\(["']([^"']+)["'](?:,\s*([^)]+))?\)/g;

function extractReferencedEnvVars(fileData, ignoredKeys) {
const matches = fileData.matchAll(envVarsRegex);
Expand Down

0 comments on commit 6f07c76

Please sign in to comment.