PeerTube/scripts/danger/clean/modules.sh

10 lines
188 B
Bash
Raw Normal View History

#!/bin/bash
2018-03-27 10:35:12 +02:00
set -eu
2016-10-13 21:45:23 +02:00
read -p "This will remove all node server and client modules. Are you sure? " -n 1 -r
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
2016-10-10 21:34:10 +02:00
rm -rf node_modules client/node_modules
fi