Skip to content

feat: ensure env.sh does not fail with unboud var #5203

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neunkasulle
Copy link

If -u is set where this env script is sourced from, it can error out with ./env.sh: line 34: !checkVar: unbound variable

Context

Ado setup breaks when called from a parent with -u set

Description

Set +u so the env.sh script does not error with it`s own onboad var

Risk Assessment (Low / Medium / High)

Low. Unboand var check was not set in the script in the first place and impact is very limited

Unit Tests Added or Updated (Yes / No)

NO


Additional Testing Performed

verified with manual flag setting and running agent

If -u is set where this env script is sourced from, it can error out with `./env.sh: line 34: !checkVar: unbound variable`
@neunkasulle neunkasulle requested review from a team as code owners May 7, 2025 17:28
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.

1 participant