Skip to content

Commit

Permalink
Updated the $ErrorActionPreference = 'Stop' on all powershell scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshastri committed Jan 23, 2024
1 parent 9ef8f76 commit f4e4ce7
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions LibericaMissionControl/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Path to the folder where the script is executing
$ErrorActionPreference = 'Stop'
$toolsDir = (Split-Path -parent $MyInvocation.MyCommand.Definition)

$packageArgs = @{
Expand Down
1 change: 1 addition & 0 deletions liberica-11-jdk/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/11.0.22+12/bellsoft-jdk11.0.22+12-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-11-jdkfull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/11.0.22+12/bellsoft-jdk11.0.22+12-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-11-jre/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/11.0.22+12/bellsoft-jre11.0.22+12-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-11-jrefull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/11.0.22+12/bellsoft-jre11.0.22+12-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-17-jdk/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/17.0.10+13/bellsoft-jdk17.0.10+13-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-17-jdkfull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/17.0.10+13/bellsoft-jdk17.0.10+13-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-17-jdklite/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/17.0.10+13/bellsoft-jdk17.0.10+13-windows-amd64-lite.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-17-jre/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/17.0.10+13/bellsoft-jre17.0.10+13-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-17-jrefull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/17.0.10+13/bellsoft-jre17.0.10+13-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-21-jdk/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jdk21.0.2+14-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-21-jdkfull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jdk21.0.2+14-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-21-jdklite/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jdk21.0.2+14-windows-amd64-lite.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-21-jre/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jre21.0.2+14-windows-amd64.msi'
Expand Down
2 changes: 1 addition & 1 deletion liberica-21-jrefull/liberica21jrefull.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>liberica21jrefull</id>
<version>21.0.2.14</version>
<packageSourceUrl>https://github.com/ajshastri/chocolatey-packages</packageSourceUrl>
<packageSourceUrl>https://github.com/ajshastri/chocolatey-packages/tree/master/liberica-21-jrefull</packageSourceUrl>
<iconUrl>https://rawcdn.githack.com/ajshastri/chocolatey-packages/a698d21b3c63b9ff7e01f442f37cdb7ecf89925a/icons/bell_sw_logo.png</iconUrl>
<title>Liberica JRE full includes LibericaFX and Minimal VM</title>
<authors>BellSoft</authors>
Expand Down
1 change: 1 addition & 0 deletions liberica-21-jrefull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jre21.0.2+14-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-8-jdk/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/8u402+7/bellsoft-jdk8u402+7-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-8-jre/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/8u402+7/bellsoft-jre8u402+7-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-jdk/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jdk21.0.2+14-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-jdkfull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jdk21.0.2+14-windows-amd64-full.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-jdklite/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jdk21.0.2+14-windows-amd64-lite.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-jre/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jre21.0.2+14-windows-amd64.msi'
Expand Down
1 change: 1 addition & 0 deletions liberica-jrefull/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
Url64bit = 'https://github.com/bell-sw/Liberica/releases/download/21.0.2+14/bellsoft-jre21.0.2+14-windows-amd64-full.msi'
Expand Down

0 comments on commit f4e4ce7

Please sign in to comment.