Skip to content

Fix when custom var has upper case#99

Merged
camilamaia merged 2 commits intomasterfrom
fix/#75
Jan 7, 2020
Merged

Fix when custom var has upper case#99
camilamaia merged 2 commits intomasterfrom
fix/#75

Conversation

@camilamaia
Copy link
Copy Markdown
Member

@camilamaia camilamaia commented Jan 6, 2020

Description

Before, If we defined a var containing an upper case letter, like:

vars:
    apiKey: abc123

and we tried to use it as ${apiKey} it would raise the error:

ERROR:scanapi.evaluators.string_evaluator:'apiKey' environment variable not set or badly c

This PR fixes this problem. Fix #75

@camilamaia camilamaia added the Bug Something isn't working label Jan 6, 2020
@camilamaia camilamaia self-assigned this Jan 6, 2020
@camilamaia camilamaia merged commit 3650806 into master Jan 7, 2020
@camilamaia camilamaia deleted the fix/#75 branch January 7, 2020 17:33
@camilamaia camilamaia mentioned this pull request May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Considering any variable that has at least one upper case letter as env var

2 participants