Skip to content

Commit

Permalink
fix: rendering function return type
Browse files Browse the repository at this point in the history
  • Loading branch information
KentarouTakeda committed Oct 9, 2024
1 parent 5edc747 commit ae52dbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Hexo from 'hexo';
import sass = require('sass');

export const make = function (this: Hexo, data: Hexo.extend.RendererData, options: {
export const make = async function (this: Hexo, data: Hexo.extend.RendererData, options: {
[key: string]: any
}) {
if(data.path == null) {
return;
return '';
}

const self = this;
Expand Down

0 comments on commit ae52dbb

Please sign in to comment.