You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(locations): interpolate environment variables in YAML input (#158)
Expand ${VAR} / ${VAR:-default} / ${VAR:?msg} in requirements.yml,
svcs.yml, mvrs.yml, annotations.yml and reqstool_config.yml before
parsing, using POSIX shell parameter expansion (the envsubst standard)
via the expandvars library.
Only the braced form is interpolated; the bare $VAR form is left
untouched so that the '# yaml-language-server: $schema=...' directive,
regexes and other literal $ characters survive unchanged. An unset
variable without an inline default is a hard error, keeping ingestion
deterministic and CI-safe.
This is the principled, deterministic alternative to 'version: latest'
(#138): pin versions to env vars and let Renovate keep them current.
Round-trip (typ=rt) loads backing LSP features are intentionally not
interpolated, so editor positions are unaffected.
Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
0 commit comments