Skip to content

Conversation

@andrewconnell
Copy link
Contributor

@andrewconnell andrewconnell commented Dec 18, 2025

When declared as a constant, the envvar can't be used in string concatenation (string interpolation). For example, say you have an authenticated endpoint. When envvars are constants, you can't use it when creating an alias.

If this PR is merged, this fixes the issue and allows envvars to be used in string interpolation scenarios. See #15017 for the issue that this fixes with examples

fixes #15017

When declared as a constant, the envvar can't be used in string concatenation (string interpolation). For example, say you have an authenticated endpoint. When envvars are constants, you can't use it when creating an `alias`.

If this PR is merged, this fixes the issue and allows envvars to be used in string interpolation scenarios.

fixes OfficeDev#15017
@andrewconnell
Copy link
Contributor Author

fyi @sebastienlevert

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.

TSP Template script creates const for envvars - suggest alias to support string interpolation

2 participants