Skip to content

Commit f7277e9

Browse files
committed
chore(lazer-sdk-js): linting issue
1 parent 27d0b5d commit f7277e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lazer/sdk/js/src/util/env-util.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ const g = globalThis as Partial<{
1010
* @returns true if in a worker of some kind, false if otherwise
1111
*/
1212
export function envIsServiceOrWebWorker() {
13-
return typeof WorkerGlobalScope !== "undefined" && g.self instanceof WorkerGlobalScope;
13+
return (
14+
typeof WorkerGlobalScope !== "undefined" &&
15+
g.self instanceof WorkerGlobalScope
16+
);
1417
}
1518

1619
/**

0 commit comments

Comments
 (0)