Commit 76cfb69b authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by brizental
Browse files

fixup! TB 40597: Implement TorSettings module

Linted.
parent 74fa7463
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -52,6 +52,9 @@ export const TorConnectState = Object.freeze({
  Disabled: "Disabled",
});

/**
 * A class for exceptions thrown during the bootstrap process.
 */
export class TorConnectError extends Error {
  static get Offline() {
    return "Offline";
+3 −0
Original line number Diff line number Diff line
@@ -218,6 +218,9 @@ function arrayShuffle(array) {

/* TorSettings module */

/**
 * The implementation for the global `TorSettings` object.
 */
class TorSettingsImpl {
  /**
   * The default settings to use.