Skip to content

Commit b286c36

Browse files
committed
Fixed an issue where the node bootstrapper was running when it shouldn't.
1 parent d8b5275 commit b286c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/NodeBootstrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Utils } from '../Utils';
1111

1212
export class NodeBootstrapper implements IBootstrapper {
1313
public register(): void {
14-
if (typeof window === 'undefined' && typeof global !== 'undefined' && {}.toString.call(global) === '[object global]') {
14+
if (!(typeof window === 'undefined' && typeof global !== 'undefined' && {}.toString.call(global) === '[object global]')) {
1515
return;
1616
}
1717

0 commit comments

Comments
 (0)