aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/modules.sh
blob: 429044b3fac5a0eaafb6c695c2749e3ef8fec3f5 (plain) (blame)
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
fi