UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

34 lines (25 loc) 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _cli() { const data = require("../../cli"); _cli = function () { return data; }; return data; } class NoDataForInsight extends _cli().PaperError { constructor(insightName) { super(generateMessage(insightName)); this.insightName = insightName; } report() { return this.message; } } exports.default = NoDataForInsight; function generateMessage(insightName) { return `No data for ${insightName}`; }