lib/hexo/multi_config_path.ts
Function multiConfigPath
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export = (ctx: Hexo) => function multiConfigPath(base: string, configPaths?: string, outputDir?: string): string {
const { log } = ctx;
const defaultPath = join(base, '_config.yml');
if (!configPaths) {