affiance
Version:
A configurable and extendable Git hook manager for node projects
19 lines (15 loc) • 388 B
JavaScript
;
const HookBase = require('../Base');
/**
* @class PostRewriteBase
* @extends HookBase
* @classdesc Base class for all Post Rewrite hooks
*/
class PostRewriteBase extends HookBase {}
const CONTEXT_DELEGATIONS = [
'isAmendment',
'isRebase',
'rewrittenCommits'
];
HookBase.delegateToContext(PostRewriteBase, CONTEXT_DELEGATIONS);
module.exports = PostRewriteBase;