1
0
Fork 0
peertube/scripts/danger/clean/modules.sh
2016-10-13 21:45:23 +02:00

7 lines
179 B
Bash
Executable file

#!/bin/bash
read -p "This will remove all node server and client modules. Are you sure? " -n 1 -r
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
rm -rf node_modules client/node_modules
fi