Use `argument` in addition to `folderUri` when conditionally resolving some variables. by bzarco · Pull Request #95483 · microsoft/vscode
bzarco
changed the title
Do not use
Use folderUri to gate variable resolving.argument in addition to folderUri when conditionally resolving some variables.
Some vars were conditionally resolved by first checking `folderUri`. This is wrong, as `getFolderUri()` may return a valid one even when `folderUri` is undefined (when `argument` is used).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters