Skip to content

Commit 5ccf4f6

Browse files
authored
Merge pull request #103 from ryoppippi/feature/fix-bun
fix(bun.ts): correct condition for bun check
2 parents 7124b1f + e799ce6 commit 5ccf4f6

File tree

1 file changed

+1
-1
lines changed
  • packages/unplugin-typia/src

1 file changed

+1
-1
lines changed

packages/unplugin-typia/src/bun.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { resolveOptions, unplugin } from './api.js';
1111
import { type Options, type ResolvedOptions, defaultOptions } from './core/options.js';
1212
import { isBun } from './core/utils.js';
1313

14-
if (isBun()) {
14+
if (!isBun()) {
1515
throw new Error('You must use this plugin with bun');
1616
}
1717

0 commit comments

Comments
 (0)