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



                                                                                  
                                                        
  
#!/bin/bash

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