Skip to content

Commit

Permalink
fix: fixed typo in message
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jul 17, 2024
1 parent 0329f99 commit 3ff204e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ class Email {
// don't break production apps
// (in case someone upgrades major without reading changelog on GH releases)
const err = new TypeError(
'Optional dependency "preview-email" not installed, but required for "previewEmail" option in "email-templates" usage (e.g. set "previewEmail: false" or "npm install preview-email" to resolve)'
'Optional dependency "preview-email" not installed, but required for "preview" option in "email-templates" usage (e.g. set "preview: false" or "npm install preview-email" to resolve)'
);
if (env === 'production') console.error(err);
else throw err;
Expand Down

0 comments on commit 3ff204e

Please sign in to comment.