Skip to content

Commit

Permalink
Merge pull request reduxjs#1117 from jridgewell/remove-rouge-eslint-line
Browse files Browse the repository at this point in the history
Remove Unneeded ESLint Line Flag
  • Loading branch information
ellbee committed Dec 9, 2015
2 parents 683dc38 + c699952 commit d1c8d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/bindActionCreators.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function bindActionCreators(actionCreators, dispatch) {
return bindActionCreator(actionCreators, dispatch)
}

if (typeof actionCreators !== 'object' || actionCreators === null || actionCreators === undefined) { // eslint-disable-line no-eq-null
if (typeof actionCreators !== 'object' || actionCreators === null || actionCreators === undefined) {
throw new Error(
`bindActionCreators expected an object or a function, instead received ${actionCreators === null ? 'null' : typeof actionCreators}. ` +
`Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`
Expand Down

0 comments on commit d1c8d87

Please sign in to comment.