Skip to content

Commit

Permalink
test: fix null return
Browse files Browse the repository at this point in the history
  • Loading branch information
weyusi committed Oct 28, 2018
1 parent a79da47 commit 914c618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/filter/meta_generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ function hexoMetaGeneratorInject(data) {

if (!($('meta[name="generator"]').length > 0) && $('head').contents().length > 0) {
$('head').prepend(hexoGeneratorTag.replace('%s', this.version));

return $.html();
}

return $.html();
}

module.exports = hexoMetaGeneratorInject;

0 comments on commit 914c618

Please sign in to comment.