Sources/ContributeWordPress/Processing/MarkdownProcessor.swift
Function writeSite
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_ site: WordPressSite,
sectionName: String,
importing assets: [AssetImport],
to contentDirectoryURL: URL,
transformFromHTML: @escaping (String) throws -> String,
Function writeAllPosts
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
fromSites sites: [SectionName: WordPressSite],
withAssets assets: [AssetImport],
inContentDirectory contentDirectoryURL: URL,
using htmlToMarkdown: @escaping (String) throws -> String,
htmlFromSitePost: ((WordPressSite) -> ((WordPressPost) -> String))? = nil