Skip to content

Commit

Permalink
fix: remove unneeded param
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Aug 8, 2024
1 parent fc2b6a9 commit f88e988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ts-plugin/src/frontmatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class FrontmatterHolder implements VirtualCode {
: ''; // Generate an empty frontmatter so that we can map an error for a missing frontmatter

if (this.hasFrontmatter) {
const yaml2tsResult = yaml2ts(frontmatter, this.snapshot, this.collection);
const yaml2tsResult = yaml2ts(frontmatter, this.collection);
this.embeddedCodes.push(yaml2tsResult.virtualCode);
}

Expand Down

0 comments on commit f88e988

Please sign in to comment.