Skip to content

Commit d01ea11

Browse files
authored
check if environment isn't a URL (#3917)
Co-authored-by: freddydk <freddydk@users.noreply.github.com>
1 parent dacd003 commit d01ea11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AppHandling/Run-AlPipeline.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ function GetInstalledApps {
482482
[string] $packagesFolder,
483483
[bool] $filesOnly
484484
)
485-
if ($bcAuthContext -and $environment) {
485+
if ($bcAuthContext -and $environment -and $environment -notlike ('https://*')) {
486486
# PublishedAs is either "Global", " PTE" or " Dev" (with leading space)
487487
$installedExtensions = Get-BcInstalledExtensions -bcAuthContext $bcAuthContext -environment $environment
488488
$installedApps = $installedExtensions | Where-Object { $_.IsInstalled } | ForEach-Object {

0 commit comments

Comments
 (0)