Skip to content

Commit 366c91d

Browse files
committed
Add early return to prevent undefined behavior
1 parent 26acd63 commit 366c91d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ export default (
184184
break;
185185
}
186186
}
187+
return;
187188
};
188189

189190
/* -------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)