Skip to content

Commit 3925a74

Browse files
author
Hugo Rialan
committed
Add automation to install Dataform CLI
1 parent 1ec5de3 commit 3925a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hooks/dataform_format.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Check if dataform command is available, if not install it
44
if ! command -v dataform >/dev/null 2>&1; then
5-
echo "Dataform is not installed. Make sure NPM is installed on your machine."
6-
echo "Installing Dataform now..."
5+
echo "Dataform is not installed."
6+
echo "Trying to install Dataform..."
77
npm i -g @dataform/cli@latest
88
echo "Dataform installed successfully."
99
fi

0 commit comments

Comments
 (0)