Skip to content

Commit ae159b8

Browse files
committed
fix: #18 support preprocess called in sync
1 parent 360fd93 commit ae159b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,8 @@
12101210
if (typeof preprocess === 'function') {
12111211
switch (this.preprocessState) {
12121212
case 0:
1213-
preprocess(this);
12141213
this.preprocessState = 1;
1214+
preprocess(this);
12151215
return;
12161216
case 1:
12171217
return;

0 commit comments

Comments
 (0)