forked from zhurui/management
12 lines
253 B
JavaScript
12 lines
253 B
JavaScript
|
'use strict'
|
||
|
|
||
|
// Run when package is uninstalled
|
||
|
const path = require('path')
|
||
|
const uninstallFrom = require('../src/uninstall')
|
||
|
|
||
|
console.log('husky')
|
||
|
console.log('uninstalling Git hooks')
|
||
|
|
||
|
const depDir = path.join(__dirname, '..')
|
||
|
uninstallFrom(depDir)
|