lib/plugins/tag/post_link.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function postLinkTag has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  return function postLinkTag(args: string[]) {
    let slug = args.shift();
    if (!slug) {
      throw new Error(`Post not found: "${slug}" doesn't exist for {% post_link %}`);
    }
Severity: Minor
Found in lib/plugins/tag/post_link.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status