Create and push a validation message to the messages array. Automatically handles suppressed messages by not pushing them.
pushMessage(context.messages, { id: MessageId.PKG_006, message: 'Missing mimetype file', location: { path: 'mimetype' },}); Copy
pushMessage(context.messages, { id: MessageId.PKG_006, message: 'Missing mimetype file', location: { path: 'mimetype' },});
Create and push a validation message to the messages array. Automatically handles suppressed messages by not pushing them.