Skip to content

Commit 27c684a

Browse files
committed
quickfix: add missing file from previous commit, remove recordStorage, now moved to base recorder
1 parent 56b0fbc commit 27c684a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/ext/browser-recorder.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use strict";
22

33
import { BEHAVIOR_RUNNING } from "../consts";
4-
import { getLocalOption } from "../localstorage";
54
import { Recorder } from "../recorder";
65

76
// ===========================================================================
@@ -53,10 +52,8 @@ class BrowserRecorder extends Recorder {
5352
// @ts-expect-error - TS2339 - Property 'port' does not exist on type 'BrowserRecorder'.
5453
this.port = port;
5554

56-
// @ts-expect-error - TS2339 - Property 'recordStorage' does not exist on type 'BrowserRecorder'.
57-
this.recordStorage = false;
58-
// @ts-expect-error - TS2339 - Property 'recordStorage' does not exist on type 'BrowserRecorder'.
59-
getLocalOption("recordStorage").then((res) => (this.recordStorage = !!res));
55+
// this.recordStorage = true;
56+
//getLocalOption("recordStorage").then((res) => (this.recordStorage = !!res));
6057

6158
// @ts-expect-error - TS2551 - Property '_onDetached' does not exist on type 'BrowserRecorder'. Did you mean '_doDetach'?
6259
this._onDetached = (tab, reason) => {

0 commit comments

Comments
 (0)