1
0
Fork 0
peertube/scripts/danger/clean/modules.sh

10 lines
188 B
Bash
Raw Normal View History

#!/bin/bash
2018-03-27 04:35:12 -04:00
set -eu
2016-10-13 15:45:23 -04: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 15:34:10 -04:00
rm -rf node_modules client/node_modules
fi