Skip to content

Commit

Permalink
Remove unnecessary import of TextDecoder from util. (#2209)
Browse files Browse the repository at this point in the history
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [ ] I have not broken the cheatsheet

Co-authored-by: Barry Jaspan <[email protected]>
  • Loading branch information
2 people authored and pokey committed Jan 31, 2024
1 parent a18c741 commit dce8cc4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
defaultShapeAdjustments,
} from "./shapeAdjustments";
import { performPr1868ShapeUpdateInit } from "./performPr1868ShapeUpdateInit";
import { TextDecoder } from "util";

const CURSORLESS_HAT_SHAPES_SUFFIX = ".svg";

Expand Down Expand Up @@ -67,7 +66,7 @@ export default class VscodeHatRenderer {
private lastSeenEnabledHatStyles: ExtendedHatStyleMap = {};
private hatsDirWatcherDisposable?: vscode.Disposable;
private hatShapeOverrides: Record<string, vscode.Uri> = {};
private decoder: TextDecoder = new TextDecoder("utf-8");
private decoder = new TextDecoder("utf-8");

constructor(
private vscodeApi: VscodeApi,
Expand Down

0 comments on commit dce8cc4

Please sign in to comment.