UNPKG

find-node-modules

Version:

Return an array of all parent node_modules directories

11 lines (10 loc) 303 B
module.exports = class SemanticReleaseError extends Error { constructor(message, code, details) { super(message); Error.captureStackTrace(this, this.constructor); this.name = 'SemanticReleaseError'; this.code = code; this.details = details; this.semanticRelease = true; } };