Skip to content

Commit cfce5c0

Browse files
committed
Fix style
1 parent cb7ca3d commit cfce5c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/util/resolveConfig.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ function resolveVariants([firstConfig, ...variantConfigs]) {
137137
Object.entries(variants || {}).forEach(([plugin, pluginVariants]) => {
138138
if (isFunction(pluginVariants)) {
139139
resolved[plugin] = pluginVariants({
140-
variants: function(path) {
140+
variants(path) {
141141
return get(resolved, path, [])
142142
},
143-
before: function(toInsert, variant, existingPluginVariants = get(resolved, plugin, [])) {
143+
before(toInsert, variant, existingPluginVariants = get(resolved, plugin, [])) {
144144
if (variant === undefined) {
145145
return [...toInsert, ...existingPluginVariants]
146146
}
@@ -157,7 +157,7 @@ function resolveVariants([firstConfig, ...variantConfigs]) {
157157
...existingPluginVariants.slice(index),
158158
]
159159
},
160-
after: function(toInsert, variant, existingPluginVariants = get(resolved, plugin, [])) {
160+
after(toInsert, variant, existingPluginVariants = get(resolved, plugin, [])) {
161161
if (variant === undefined) {
162162
return [...existingPluginVariants, ...toInsert]
163163
}

0 commit comments

Comments
 (0)