mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
13 lines
369 B
JavaScript
13 lines
369 B
JavaScript
'use strict';
|
|
|
|
const chalk = require('chalk');
|
|
|
|
const processBackendNotificationRequest = require('@serverless/utils/process-backend-notification-request');
|
|
|
|
module.exports = (notifications) => {
|
|
const notification = processBackendNotificationRequest(notifications);
|
|
if (!notification) return;
|
|
|
|
process.stdout.write(`\n${chalk.gray(notification.message)}\n`);
|
|
};
|