UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

25 lines 850 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Result = void 0; const Logging_1 = require("../Helper/Logging"); const BaseStep_1 = require("./BaseStep"); class Result extends BaseStep_1.BaseStep { // eslint-disable-next-line @typescript-eslint/require-await async emit(answers) { this.debug(answers); (0, Logging_1.nl)(); if (this._argv.uninstall) { (0, Logging_1.green)('😢 Successfully removed Sentry from your project 😢'); } else { (0, Logging_1.green)('🎉 Successfully set up Sentry for your project 🎉'); } // We need to exit here to stop everything setTimeout(() => { process.exit(); }, 100); return {}; } } exports.Result = Result; //# sourceMappingURL=Result.js.map