You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hooks/dataform_format.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
#!/bin/sh
2
2
3
-
# Check if dataform command is available
3
+
# Check if dataform command is available, if not install it
4
4
if!command -v dataform >/dev/null 2>&1;then
5
-
echo"Error: dataform command not found. Make sure it is installed. Refer to the official Dataform documentation for installation instructions: https://cloud.google.com/dataform/docs/use-dataform-cli#install_cli"
6
-
exit 1
5
+
echo"Dataform is not installed. Installing it now..."
0 commit comments