UNPKG

affiance

Version:

A configurable and extendable Git hook manager for node projects

15 lines (12 loc) 364 B
'use strict'; const PostCommitBase = require('./Base'); const SharedNspCheck = require('../shared/NspCheck'); /** * @class NspCheck * @extends PostCommitBase * @classdesc Run `nsp check` on repo after a commit */ class NspCheck extends PostCommitBase {} // Used the shared run function NspCheck.prototype.run = SharedNspCheck.run; module.exports = NspCheck;