Skip to content

Commit b7871d7

Browse files
authored
remove dead code (#1694)
1 parent 6825853 commit b7871d7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

extension/src/webview/workspace.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Memento } from 'vscode'
2-
import { BaseWebview } from '.'
32
import { BaseRepository } from './repository'
43
import { WebviewData } from './contract'
54
import { InternalCommands } from '../commands/internal'
@@ -36,13 +35,4 @@ export abstract class BaseWorkspaceWebviews<
3635
await repository.showWebview()
3736
return repository
3837
}
39-
40-
public setWebview(dvcRoot: string, webview: BaseWebview<U>) {
41-
const repository = this.getRepository(dvcRoot)
42-
if (!repository) {
43-
webview.dispose()
44-
}
45-
46-
repository.setWebview(webview)
47-
}
4838
}

0 commit comments

Comments
 (0)