We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b29ca12 commit 4d751a5Copy full SHA for 4d751a5
1 file changed
hooks/dataform_format.sh
@@ -1,20 +1,3 @@
1
#!/bin/sh
2
3
-# Check if dataform command is available
4
-if ! command -v dataform >/dev/null 2>&1; then
5
- echo "Error: dataform command not found. Make sure it is installed and available in PATH."
6
- exit 1
7
-fi
8
-
9
-# Run Dataform formatting
10
-output=$(dataform format 2>&1)
11
-exit_code=$?
12
13
-if [ $exit_code -ne 0 ]; then
14
- echo "Dataform formatting failed:"
15
- echo "$output"
16
- echo "Please review the formatting errors before committing."
17
18
19
20
-echo "Dataform formatting complete. Please review the changes before committing."
+dataform format
0 commit comments