Skip to content

Commit

Permalink
Update Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ooflorent committed Jul 31, 2018
1 parent 20406a4 commit 64e301c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions lib/wasm/WebAssemblyGenerator.js
Expand Up @@ -47,9 +47,12 @@ const preprocess = ab => {
* @returns {Function} composed transform
*/
const compose = (...fns) => {
return fns.reduce((prevFn, nextFn) => {
return value => nextFn(prevFn(value));
}, value => value);
return fns.reduce(
(prevFn, nextFn) => {
return value => nextFn(prevFn(value));
},
value => value
);
};

// TODO replace with @callback
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -63,7 +63,7 @@
"less-loader": "^4.0.3",
"lint-staged": "^7.2.0",
"lodash": "^4.17.4",
"prettier": "^1.13.7",
"prettier": "^1.14.0",
"pug": "^2.0.3",
"pug-loader": "^2.4.0",
"raw-loader": "~0.5.0",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -5102,9 +5102,9 @@ preserve@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"

prettier@^1.13.7:
version "1.13.7"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281"
prettier@^1.14.0:
version "1.14.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.0.tgz#847c235522035fd988100f1f43cf20a7d24f9372"

pretty-format@^23.2.0:
version "23.2.0"
Expand Down

0 comments on commit 64e301c

Please sign in to comment.