mirror of
https://github.com/bitwarden/browser
synced 2026-02-17 18:09:17 +00:00
[deps] Platform: Lock file maintenance (#14932)
* [deps]: Lock file maintenance * Pin is-generator-function, downgrade open * Bump zbus to match zbus_macro * Attempt to fix rust compile issue by matching zbus and zbus_macro * Update ashpd ... * Fix lockfile --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hinton <hinton@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
// @ts-strict-ignore
|
||||
import * as child_process from "child_process";
|
||||
|
||||
import open from "open";
|
||||
// eslint-disable-next-line
|
||||
const open = require("open");
|
||||
|
||||
import { ClientType, DeviceType } from "@bitwarden/common/enums";
|
||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||
@@ -87,8 +88,7 @@ export class CliPlatformUtilsService implements PlatformUtilsService {
|
||||
if (process.platform === "linux") {
|
||||
child_process.spawnSync("xdg-open", [uri]);
|
||||
} else {
|
||||
// eslint-disable-next-line no-console
|
||||
open(uri).catch(console.error);
|
||||
open(uri);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user