Skip to content

Commit b1bc3a0

Browse files
committed
add explaination of extracting from the ENCODED env var
1 parent 2f42c58 commit b1bc3a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

actionview/Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ namespace :test do
5858

5959
sleep 0.2
6060
end
61-
system(Hash[*Base64.decode64(ENV.fetch("ENCODED", "")).split(/[ =]/)], "npm", "test")
61+
# Decode the obfuscate environment variables
62+
decoded_environment_variables = Hash[*Base64.decode64(ENV.fetch("ENCODED", "")).split(/[ =]/)]
63+
system(decoded_environment_variables, "npm", "test")
6264
status = $?.exitstatus
6365
ensure
6466
Process.kill("KILL", -pid) if pid

0 commit comments

Comments
 (0)