Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Feb 20, 2022
1 parent 14d4858 commit 14b936c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/plugin/lib/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const normalizeItem = async function (
pluginConfig,
{ name, builtins, pluginProp, modulePrefix, cwd },
) {
const itemDefinitions = getListItemsDefinitions(pluginProp, builtins)
const itemDefinitions = getItemDefinition(pluginProp, builtins)
return await safeNormalizeConfig(pluginConfig, itemDefinitions, {
context: { builtins, pluginProp, modulePrefix },
cwd,
Expand All @@ -28,7 +28,7 @@ export const normalizeItem = async function (
})
}

const getListItemsDefinitions = function (pluginProp, builtins) {
const getItemDefinition = function (pluginProp, builtins) {
const exampleId = getExampleId(builtins)
return [
{ ...normalizeItemTop, example: exampleId },
Expand Down

0 comments on commit 14b936c

Please sign in to comment.