uninstall.js 253 B

1234567891011
  1. 'use strict'
  2. // Run when package is uninstalled
  3. const path = require('path')
  4. const uninstallFrom = require('../src/uninstall')
  5. console.log('husky')
  6. console.log('uninstalling Git hooks')
  7. const depDir = path.join(__dirname, '..')
  8. uninstallFrom(depDir)