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:55:48 +01:00
parent 59871263ab
commit 31cc3765e3

View File

@ -32,9 +32,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