Skip to content

Commit 1ec5de3

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hooks/dataform_format.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +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. Installing it now..."
5+
echo "Dataform is not installed. Make sure NPM is installed on your machine."
6+
echo "Installing Dataform now..."
67
npm i -g @dataform/cli@latest
78
echo "Dataform installed successfully."
89
fi

0 commit comments

Comments
 (0)