Skip editor confirmation of upgrades

In practice, the upgrades are always fine, and this editor prompt just adds
delays.
This commit is contained in:
J. Ryan Stinnett 2020-10-20 11:57:02 +01:00
parent 69c7d08941
commit 78dd07cbfd

View file

@ -38,9 +38,7 @@ do
echo "Upgrading $i to $latestver..." echo "Upgrading $i to $latestver..."
yarn add -E $i@$latestver yarn add -E $i@$latestver
git add -u git add -u
# The `-e` flag opens the editor and gives you a chance to check git commit -m "Upgrade $i to $latestver"
# the upgrade for correctness.
git commit -m "Upgrade $i to $latestver" -e
fi fi
fi fi
done done