1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

Revert "[deps] Platform: Lock file maintenance (#14932)" (#18406)

This reverts commit 5dee97158a.
This commit is contained in:
Colton Hurst
2026-01-16 11:37:07 -05:00
committed by GitHub
parent 12516ceeea
commit 3b2286fbb0
8 changed files with 8033 additions and 10395 deletions

View File

@@ -2,8 +2,7 @@
// @ts-strict-ignore
import * as child_process from "child_process";
// eslint-disable-next-line
const open = require("open");
import open from "open";
import { ClientType, DeviceType } from "@bitwarden/common/enums";
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
@@ -88,7 +87,8 @@ export class CliPlatformUtilsService implements PlatformUtilsService {
if (process.platform === "linux") {
child_process.spawnSync("xdg-open", [uri]);
} else {
open(uri);
// eslint-disable-next-line no-console
open(uri).catch(console.error);
}
}