Skip to content

Commit 44e4f2c

Browse files
Simplify _initialized initial condition
Co-authored-by: Lukas Reining <lukas.reining@codecentric.de> Signed-off-by: Matt Cowley <me@mattcowley.co.uk>
1 parent 96f5f42 commit 44e4f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/open-feature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class ProviderWrapper<P extends CommonProvider<AnyProviderStatus>, S exte
5252
}
5353
});
5454

55-
this._initialized = !(typeof _provider.initialize === 'function');
55+
this._initialized = typeof _provider.initialize !== 'function';
5656
}
5757

5858
get provider(): P {

0 commit comments

Comments
 (0)