1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const NodeNotifier = require("node-notifier");
|
4 | const path = require("path");
|
5 | function notify(notification = {}, callback) {
|
6 | if (!notification.force && ['0', 'false'].includes(process.env.HEROKU_NOTIFICATIONS))
|
7 | return;
|
8 | return NodeNotifier.notify(Object.assign({ title: 'Heroku CLI', icon: path.join(__dirname, '../assets/heroku.png'), appName: 'Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy!App' }, notification), callback);
|
9 | }
|
10 | exports.notify = notify;
|