affiance
Version:
A configurable and extendable Git hook manager for node projects
15 lines (12 loc) • 362 B
JavaScript
;
const PreCommitBase = require('./Base');
const SharedNspCheck = require('../shared/NspCheck');
/**
* @class NspCheck
* @extends PreCommitBase
* @classdesc Run `nsp check` on repo before a commit
*/
class NspCheck extends PreCommitBase {}
// Used the shared run function
NspCheck.prototype.run = SharedNspCheck.run;
module.exports = NspCheck;