backoffice/node_modules/grunt-notify/lib/platforms/no-notifications.js

31 lines
529 B
JavaScript
Raw Normal View History

2020-02-06 10:09:39 +00:00
/*
* grunt-notify
* https://github.com/dylang/grunt-notify
*
* Copyright (c) 2013 Dylan Greene
* Licensed under the MIT license.
*/
'use strict';
var NOTIFY_TYPE = 'no-notifications';
function supported(options) {
options.debug({
fallback: 'No supported notification systems were found'
});
return true;
}
function notify(options, cb) {
options.debug({
title: options.title,
message: options.message
});
cb();
}
module.exports = {
name: NOTIFY_TYPE,
supported: supported,
notify: notify
};