Skip to content

Commit

Permalink
fix: fixed the throw error when the dist folder don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobertoldo committed Feb 14, 2023
1 parent e6c5c36 commit 4bb6bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack-mjml-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ WebpackMjmlStore.prototype.readFile = function (file) {
try {
fs.readFile(file, 'utf8', function (err, data) {
if (err) {
throw err;
resolve(true);
}
resolve(data);
});
Expand Down

0 comments on commit 4bb6bac

Please sign in to comment.