Skip to content

Commit 4dd5dd0

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 2f3873f commit 4dd5dd0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
import {
2-
Disposable,
3-
FileSystem,
4-
PathChangeListener
5-
} from "@cursorless/common";
1+
import { Disposable, FileSystem, PathChangeListener } from "@cursorless/common";
62
import { RelativePattern, workspace } from "vscode";
73

84
export class VscodeFileSystem implements FileSystem {
95
watch(path: string, onDidChange: PathChangeListener): Disposable {
106
// TODO: What happens on VSCode before 1.64?
117
// FIXME: Support globs?
12-
const watcher = workspace.createFileSystemWatcher(new RelativePattern(path, "**"));
8+
const watcher = workspace.createFileSystemWatcher(
9+
new RelativePattern(path, "**"),
10+
);
1311
watcher.onDidChange(onDidChange);
1412
watcher.onDidCreate(onDidChange);
1513
watcher.onDidDelete(onDidChange);
1614
return watcher;
1715
}
1816
}
19-

0 commit comments

Comments
 (0)