aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/danger/clean/modules.sh
blob: 1aa6c732b9cbc7eb05ec58dd73bdb17657447fa4 (plain) (tree)
1
2
3
4
5
6
7




                                                                                  
                                                        
  
#!/usr/bin/env sh

read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r

if [[ "$REPLY" =~ ^[Yy]$ ]]; then
  rm -rf node_modules client/node_modules client/typings
fi