Fix error caused by incorrect linting

main
Chris Vickery 2019-10-10 14:59:39 -07:00
parent a45f6e2a6d
commit 5b9d9d2853
1 changed files with 2 additions and 3 deletions

View File

@ -3,10 +3,9 @@ import Raven from 'raven-js';
function init() {
if (process.env.NODE_ENV === 'production') {
const opts = {};
const webpackHash = __webpack_hash__; // eslint-disable-line
if (typeof webpackHash !== 'undefined') {
opts.release = webpackHash;
if (typeof __webpack_hash__ !== 'undefined') { // eslint-disable-line camelcase
opts.release = __webpack_hash__; // eslint-disable-line no-undef, camelcase
}
Raven.config(