Skip to content

Commit

Permalink
Merge pull request #7 from LyraPhase/refactor-app-spec-validate-schem…
Browse files Browse the repository at this point in the history
…a-only-offline

Refactor validate-offline -> --schema-only
  • Loading branch information
trinitronx authored Oct 23, 2023
2 parents 9aa756b + e99a163 commit ebb52b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)$
- id: doctl-app-spec-validate-offline
name: DigitalOcean App Spec Validate Offline (schema-only)
description: Check YAML App Spec Syntax with doctl app spec validate-offline
description: Check YAML App Spec Syntax with doctl app spec validate --schema-only
entry: hooks/doctl-app-spec-validate-offline.sh
language: script
types: [yaml]
Expand Down
2 changes: 1 addition & 1 deletion hooks/doctl-app-spec-validate-offline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ if ! command which doctl > /dev/null 2>&1; then
exit 1
fi

doctl app spec validate-offline "$@"
doctl app spec validate "$@" --schema-only

0 comments on commit ebb52b0

Please sign in to comment.