Skip to content

Commit 3d9c348

Browse files
committed
do not assume default distro name
1 parent 7a40565 commit 3d9c348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playwright-core/src/server/utils/hostPlatform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function calculatePlatform(): { hostPlatform: HostPlatform, isOfficiallySupporte
111111
if (distroInfo?.version === '')
112112
return { hostPlatform: ('debian13' + archSuffix) as HostPlatform, isOfficiallySupportedPlatform };
113113
}
114-
return { hostPlatform: ('ubuntu24.04' + archSuffix) as HostPlatform, isOfficiallySupportedPlatform: false };
114+
return { hostPlatform: '<unknown>', isOfficiallySupportedPlatform: false };
115115
}
116116
if (platform === 'win32')
117117
return { hostPlatform: 'win64', isOfficiallySupportedPlatform: true };

0 commit comments

Comments
 (0)