Skip to content

Commit

Permalink
Merge pull request #9 from MichaelHettmer/renovate/prettier-2.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency prettier to v2
  • Loading branch information
michaelhettmer authored Apr 16, 2020
2 parents 82b1693 + 0deb852 commit 06113ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
'*.{js,jsx,json,jsonc}': ['npm run lint:fix'],
'**/.circleci/config.yml': filenames => filenames.map(filename => `npm run lint:circleci "${filename}"`),
'**/.circleci/config.yml': (filenames) => filenames.map((filename) => `npm run lint:circleci "${filename}"`),
};
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"lint-staged": "10.1.3",
"nodegit": "0.26.5",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"prettier": "2.0.4",
"react": "16.13.1",
"react-test-renderer": "16.13.1",
"redux-saga": "1.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/createRootSaga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const createRootSaga = (
): (() => Generator<CombinatorEffect<'ALL', SimpleEffect<'FORK', ForkEffectDescriptor<void>>>, void, unknown>) => {
return function* rootSaga() {
yield all(
sagas.map(sagaParam =>
sagas.map((sagaParam) =>
spawn(function* spawnedSaga() {
// If saga is passed inside a tuple with custom options extract both
const saga = sagaParam instanceof Array ? sagaParam[0] : sagaParam;
Expand Down

0 comments on commit 06113ad

Please sign in to comment.