Skip to content

Commit e8b15c0

Browse files
committed
copy code changes from #7963 so the github actions can be run by a contributor
1 parent 4b5a82e commit e8b15c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/util/src/environment.ts

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export function isNodeSdk(): boolean {
138138
export function isSafari(): boolean {
139139
return (
140140
!isNode() &&
141+
navigator.userAgent &&
141142
navigator.userAgent.includes('Safari') &&
142143
!navigator.userAgent.includes('Chrome')
143144
);

0 commit comments

Comments
 (0)