sls3-legacy
Version:
SLS3 Legacy - A fork of Serverless Framework v3
16 lines (13 loc) • 400 B
JavaScript
;
module.exports = (changeSetDescription) => {
const errorMessages = [
'No updates are to be performed.',
"The submitted information didn't contain changes.",
];
return (
changeSetDescription.Status === 'FAILED' &&
errorMessages.some(
(msg) => changeSetDescription.StatusReason && changeSetDescription.StatusReason.includes(msg)
)
);
};