mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 09:23:17 +01:00
Merge pull request #171 from dcoomber/feature/process-env-secrets
RFC: Support process.env in Bru script Re #170
This commit is contained in:
commit
bf5ee7e409
@ -5,6 +5,10 @@ class Bru {
|
||||
this._collectionVariables = collectionVariables;
|
||||
}
|
||||
|
||||
getProcessEnv(key) {
|
||||
return process.env[key];
|
||||
}
|
||||
|
||||
getEnvVar(key) {
|
||||
return this._envVariables[key];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user