mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 03:43:27 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import os from 'node:os';
|
||||
import { readFileSync } from 'fs-extra';
|
||||
import fsExtra from 'fs-extra';
|
||||
import { getOSFunctions } from './shared.js';
|
||||
|
||||
const { readFileSync } = fsExtra;
|
||||
|
||||
function getLinuxName(): string | undefined {
|
||||
if (os.platform() !== 'linux') {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user