Skip to content

Commit

Permalink
fix: ignore local config require
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickocoffeyo committed Sep 28, 2018
1 parent c61a775 commit 18105fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ if (NODE_ENV === 'production') {
// If local config exists, allow overrides.
let localConfig;
try {
localConfig = require('./local.json'); // eslint-disable-line global-require, import/no-unresolved, max-len
// eslint-disable-next-line
localConfig = require('./local.json');
} catch (e) {
localConfig = {};
}
Expand Down

0 comments on commit 18105fa

Please sign in to comment.