Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 8262b29

Browse files
committed
wip: try reformatting try/catch
1 parent 4ab7257 commit 8262b29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

windows-rdp/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ resource "coder_script" "windows-rdp" {
6666
# Install-PackageProvider is required for AWS
6767
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
6868
Install-Module -Name $moduleName -RequiredVersion $moduleVersion -Force
69-
} catch {
69+
}
70+
catch {
7071
# If the first command failed, assume that we're on GCP and run
7172
# Install-Module only
7273
Install-Module -Name $moduleName -RequiredVersion $moduleVersion -Force

0 commit comments

Comments
 (0)