Skip to content

Commit 51c16a4

Browse files
authored
feat(node): Add extra platforms to os context (#17720)
- Ref getsentry/sentry-electron#1218
1 parent ee4ed05 commit 51c16a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/node-core/src/integrations/context.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ const PLATFORM_NAMES: { [platform: string]: string } = {
266266
openbsd: 'OpenBSD',
267267
sunos: 'SunOS',
268268
win32: 'Windows',
269+
ohos: 'OpenHarmony',
270+
android: 'Android',
269271
};
270272

271273
/** Linux version file to check for a distribution. */

0 commit comments

Comments
 (0)