@putout/engine-runner 12.4.0 → 12.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +6 -2
- package/lib/replace/index.js +0 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -137,11 +137,15 @@ function splitPlugins(plugins, {template}) {
|
|
|
137
137
|
for (const item of plugins) {
|
|
138
138
|
const {plugin} = item;
|
|
139
139
|
|
|
140
|
-
if (plugin.find)
|
|
140
|
+
if (plugin.find) {
|
|
141
141
|
pluginsFind.push(item);
|
|
142
|
+
continue;
|
|
143
|
+
}
|
|
142
144
|
|
|
143
|
-
if (plugin.traverse)
|
|
145
|
+
if (plugin.traverse) {
|
|
144
146
|
pluginsTraverse.push(item);
|
|
147
|
+
continue;
|
|
148
|
+
}
|
|
145
149
|
|
|
146
150
|
if (plugin.replace) {
|
|
147
151
|
pluginsTraverse.push(include(replace(item, {
|
package/lib/replace/index.js
CHANGED