Skip to content

Commit bf6a60f

Browse files
authored
chore: default to ubuntu 24.04 for unsupported distros (#38269)
1 parent d92591a commit bf6a60f

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: ('ubuntu20.04' + archSuffix) as HostPlatform, isOfficiallySupportedPlatform: false };
114+
return { hostPlatform: ('ubuntu24.04' + archSuffix) as HostPlatform, isOfficiallySupportedPlatform: false };
115115
}
116116
if (platform === 'win32')
117117
return { hostPlatform: 'win64', isOfficiallySupportedPlatform: true };

0 commit comments

Comments
 (0)