Skip to content

Commit 4927f91

Browse files
authored
Fix detailed error codes on Windows (#911)
* Fix detailed error codes on Windows Switches from Powershell to cmd since Powershell hides the original exit code. * Call diff.exe directly on Windows
1 parent 4a66daa commit 4927f91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

plugin.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ description: "Preview helm upgrade changes as a diff"
77
useTunnel: true
88
platformCommand:
99
- command: ${HELM_PLUGIN_DIR}/bin/diff
10-
- os: windows
11-
command: pwsh
12-
args:
13-
- -Command
14-
- "& (Join-Path -Path (Get-ChildItem env:HELM_PLUGIN_DIR).value -ChildPath 'bin\\diff')"
1510

1611
platformHooks:
1712
install:

0 commit comments

Comments
 (0)