aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/danger/clean/modules.sh
blob: f59d6b675a02ba2d02c2f35e25ebd8eb346436bb (plain) (tree)
1
2
3
4
5
6
7
8
9
           
 
       
                                                                                     
                                 
                                         
  
#!/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