Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
BUG FIX: silent errors on save fix option
Browse files Browse the repository at this point in the history
  • Loading branch information
oriSomething committed Feb 19, 2017
1 parent bd1fc60 commit 776126e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers.js
Expand Up @@ -98,7 +98,7 @@ const formatOnSaveIfEnabled = () => {

format(null, {
ignoreSelection: true,
ignoreErrors: !getConfigOption('formatOnSaveSilentError'),
ignoreErrors: Boolean(getConfigOption('formatOnSaveSilentError')),
});
};

Expand Down

0 comments on commit 776126e

Please sign in to comment.