mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
14 lines
392 B
JavaScript
14 lines
392 B
JavaScript
'use strict';
|
|
|
|
const { log, style } = require('@serverless/utils/log');
|
|
|
|
const processBackendNotificationRequest = require('@serverless/utils/process-backend-notification-request');
|
|
|
|
module.exports = (notifications) => {
|
|
const notification = processBackendNotificationRequest(notifications);
|
|
if (!notification) return;
|
|
|
|
log.notice();
|
|
log.notice(style.aside(notification.message));
|
|
};
|