Skip to content

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

@akhileshnirapure

Description

@akhileshnirapure

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.

policiesPath += `/Environments/${targetEnvironment}`;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions