Skip to content

Commit

Permalink
Fix issues with kustomize-update-suggestions (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeReaper authored Dec 2, 2024
1 parent b2973d0 commit 57dd9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/kustomize-update-suggestions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
env:
TARGET: ${{ inputs.path }}
run: |
if [ ! -d "$TARGET" ];
if [ ! -d "$TARGET" ]; then
echo "::error title=Invalid path::Invalid path '$TARGET', directory does not exist."
exit 1
fi
Expand All @@ -49,7 +49,7 @@ runs:
env:
TARGET: ${{ inputs.patch }}
run: |
if [ -f "$TARGET" ];
if [ -f "$TARGET" ]; then
echo "::error title=Invalid path::Invalid path '$TARGET', file already exists."
exit 1
fi
Expand Down

0 comments on commit 57dd9e7

Please sign in to comment.