mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 22:32:04 +00:00
fix: address pr comments
This commit is contained in:
@@ -14,8 +14,12 @@ echo ""
|
||||
# Install dependencies
|
||||
echo "[1/1] Installing npm dependencies..."
|
||||
if [ -f "package.json" ]; then
|
||||
npm install
|
||||
echo "Dependencies installed successfully!"
|
||||
if npm install; then
|
||||
echo "Dependencies installed successfully!"
|
||||
else
|
||||
echo "ERROR: npm install failed with exit code $?"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "No package.json found, skipping npm install"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user