vscode-extension icon indicating copy to clipboard operation
vscode-extension copied to clipboard

Hardcoded folder name 'Environment' breaks "upload all policies" command

Open akhileshnirapure opened this issue 3 years ago • 0 comments
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

akhileshnirapure avatar Nov 10 '22 09:11 akhileshnirapure