To determine the scope, first the packageBaseUri was checked and then the this.config.publicationEnvironment variable was is set by CLI. However, the first one is more specific than the latter, meaning that the "if"-statement with the latter will always be true.
To determine the scope, first the
packageBaseUri
was checked and then thethis.config.publicationEnvironment
variable was is set by CLI. However, the first one is more specific than the latter, meaning that the "if"-statement with the latter will always be true.Therefore, we switch both if-statements.