1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00
Peertube/scripts/danger/clean/modules.sh
2018-03-27 10:35:12 +02:00

9 lines
188 B
Bash
Executable file

#!/bin/bash
set -eu
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