Add notice on Ubuntu < 20.04

This commit is contained in:
Fedor Indutny 2023-05-11 12:22:15 -07:00 committed by GitHub
parent 65be832569
commit 4131234b78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ import { version as osVersion } from 'os';
import type { LoggerType } from '../types/Logging'; import type { LoggerType } from '../types/Logging';
const MIN_UBUNTU_VERSION = '16.04'; const MIN_UBUNTU_VERSION = '20.04';
export function getUbuntuVersion(): string | undefined { export function getUbuntuVersion(): string | undefined {
if (process.platform !== 'linux') { if (process.platform !== 'linux') {