UNPKG

affiance

Version:

A configurable and extendable Git hook manager for node projects

18 lines (14 loc) 380 B
'use strict'; const HookBase = require('../Base'); /** * @class PostCommitBase * @extends HookBase * @classdesc The base class for all post commit hooks */ class PostCommitBase extends HookBase {} const CONTEXT_DELEGATIONS = [ 'modifiedLinesInFile', 'isInitialCommit' ]; HookBase.delegateToContext(PostCommitBase, CONTEXT_DELEGATIONS); module.exports = PostCommitBase;