aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/modules.sh
blob: 99555a693578819d9887c52679237bcc23b124f4 (plain) (blame)
1
2
3
4
5
6
7
#!/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