Skip to content

Commit d248993

Browse files
committed
fix(plugin-tab): handle params correctly
1 parent fe7351c commit d248993

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/plugin-tab/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ function writeConfigToOutput(patternlab, pluginConfig) {
3636
}
3737
}
3838

39-
async function onPatternIterate(patternlab, pattern) {
39+
async function onPatternIterate(params) {
40+
const [patternlab, pattern] = params;
4041
await tab_loader(patternlab, pattern);
4142
}
4243

0 commit comments

Comments
 (0)