-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates #73
Updates #73
Conversation
dbdabe5
to
cb66f9b
Compare
cb66f9b
to
725969e
Compare
3698527
to
ab64508
Compare
ab64508
to
bebab71
Compare
index.js
Outdated
|
||
treeForPublic(tree) { | ||
let faviconTree = new Favicons(this.parentOptions.trees.public, this.parentOptions.favicons); | ||
return mergeTrees([ faviconTree, tree ].filter((v) => v), { overwrite: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nice little take on .filter((v) => v)
is .filter(Boolean)
instead. It's a little more explicit and concise. But if you prefer this syntax, don't bother changing. Just throwing that out there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow cool thing I didn't know that's possible. :)
This PR will update packages to latest versions as well as fix deprecations and issue with specifying custom callback by the app.