mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-06-21 16:41:23 +07:00
node_modules: update (#290)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
+4
-7
@@ -52,10 +52,7 @@ const ERROR_CODES = {
|
||||
};
|
||||
|
||||
// Export error codes as string constants and the full definitions object
|
||||
module.exports = Object.keys(ERROR_CODES).reduce(
|
||||
(exports, code) => {
|
||||
exports[code] = code;
|
||||
return exports;
|
||||
},
|
||||
{ ERROR_CODES }
|
||||
);
|
||||
module.exports = { ERROR_CODES };
|
||||
for (const code of Object.keys(ERROR_CODES)) {
|
||||
module.exports[code] = code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user