vscode-extension
vscode-extension copied to clipboard
Hardcoded folder name 'Environment' breaks "upload all policies" command
trafficstars
Hi,
I've configured in appsettings.json folderpath to be "EnvironmentsFolder": "release"
configured extension workspace settings with respective env name.
Execute the upload all policy and extension cannot locate the folder :-(
Looked up in code and looks to me hard-coded value and it expects the Environment folder name to be 'Environment'
I reverted my config to match the name and tried it worked.
https://github.com/azure-ad-b2c/vscode-extension/blob/9e5606dbac423017b24b4183c7c5cf89a8e3ff8b/src/PolicyUpload.ts#L46