lib/plugins/tag/include_code.ts
Function includeCodeTag
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export = (ctx: Hexo) => function includeCodeTag(args: string[]) {
let codeDir = ctx.config.code_dir;
let arg = args.join(' ');
// Add trailing slash to codeDir