PeerTube/scripts/danger/clean/modules.sh

8 lines
176 B
Bash
Raw Normal View History

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