Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: Double-{} wrapped VARS no longer resolved in scripts (#2134) #2213

Conversation

end3rbyte
Copy link
Contributor

@end3rbyte end3rbyte commented May 1, 2024

Fixes: #2134

Description

Environment variables are now replaced properly in vars, for example with variables:

  • my_env_var=123456
  • my_var={{my_env_var}}

BEFORE: console.log( bru.getVar("my_var") ) result was {{my_env_var}}
NOW: console.log( bru.getVar("my_var") ) result is 123456

electron_ZNsTEtIgPw.mp4

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

@end3rbyte end3rbyte marked this pull request as ready for review May 1, 2024 07:08
…onger-resolved-in-scripts-2134

# Conflicts:
#	packages/bruno-js/src/bru.js
@end3rbyte end3rbyte force-pushed the bugfix/double-curly-braces-wrapped-vars-no-longer-resolved-in-scripts-2134 branch from 3f6e642 to 349d650 Compare July 1, 2024 14:10
@end3rbyte
Copy link
Contributor Author

Was fixed in the meantime by #2479

@end3rbyte end3rbyte closed this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: Double-{} wrapped VARS no longer resolved in scripts
2 participants