Showing 1 of 1 total issue
Function resolveConfig
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const resolveConfig = async (pluginConfig: TAnyMap, context: TContext, path = PLUGIN_PATH, step?: string): Promise<IGhpagesPluginConfig> => {
const opts = resolveOptions(pluginConfig, context, path, step)
const {
branches = opts._branches,
branch = DEFAULT_BRANCH,