Skip to content

Commit

Permalink
Fixed an issue in README's markdown accidentally removing the install…
Browse files Browse the repository at this point in the history
… button image
  • Loading branch information
jongpie committed Jan 13, 2022
1 parent 0a0e639 commit caa654a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Designed for Salesforce admins, developers & architects. A robust logger for Ape

## Unlocked Package - v4.6.16

[![Install Unlocked Package in a Sandbox](./images/https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lKrQAI)
[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lKrQAI)
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lL1QAI)
[![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function Update-README-Package-Version-Id {

$packageVersionId = "$packageVersionId".Trim()
# Since there are links for both the unlocked & managed packages, the unlocked package buttons are used to ensure the correct link is updated
$sandboxUnlockedPackageReplacement = "https://test.salesforce.com/packaging/installPackage.apexp?p0=$packageVersionId"
$sandboxUnlockedPackageReplacement = "btn-install-unlocked-package-sandbox.png)]https://test.salesforce.com/packaging/installPackage.apexp?p0=$packageVersionId"
((Get-Content -path $targetreadme -Raw) -replace "btn-install-unlocked-package-sandbox.png\)\]\(https:\/\/test.salesforce.com\/packaging\/installPackage.apexp\?p0=.{0,18}", $sandboxUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
$productionUnlockedPackageReplacement = "btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=$packageVersionId"
((Get-Content -path $targetreadme -Raw) -replace "btn-install-unlocked-package-production.png\)\]\(https:\/\/login.salesforce.com\/packaging\/installPackage.apexp\?p0=.{0,18}", $productionUnlockedPackageReplacement) | Set-Content -Path $targetreadme -NoNewline
Expand Down

0 comments on commit caa654a

Please sign in to comment.