UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

13 lines 506 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const logger_1 = require("@pnpm/logger"); function err(error) { // bole passes only the name, message and stack of an error // that is why we pass error as a message as well, to pass // any additional info logger_1.default.error(error, error); // Differing exit. Otherwise, the reporter wouldn't show the error setTimeout(() => process.exit(1), 0); } exports.default = err; //# sourceMappingURL=err.js.map