Skip to content

Commit

Permalink
fix no-extra-boolean-cast eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
folmert authored Dec 12, 2017
1 parent 83b0798 commit 5645a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/vue/src/server/iframe.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const urlsFromAssets = assets => {
.forEach(key => {
let asset = assets[key];
if (typeof asset === 'string') {
if (Boolean(urls[getExtensionForFilename(asset)])) {
if (urls[getExtensionForFilename(asset)]) {
urls[getExtensionForFilename(asset)].push(asset);
}
} else {
Expand Down

0 comments on commit 5645a0a

Please sign in to comment.