File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ async function tryActivate(context: vscode.ExtensionContext): Promise<RustAnalyz
51
51
// We only support local folders, not eg. Live Share (`vlsl:` scheme), so don't activate if
52
52
// only those are in use.
53
53
// (r-a still somewhat works with Live Share, because commands are tunneled to the host)
54
- const folders = ( vscode . workspace . workspaceFolders || [ ] ) . filter ( ( folder ) =>
55
- folder . uri . scheme == "file"
54
+ const folders = ( vscode . workspace . workspaceFolders || [ ] ) . filter (
55
+ ( folder ) => folder . uri . scheme = == "file"
56
56
) ;
57
57
const rustDocuments = vscode . workspace . textDocuments . filter ( ( document ) =>
58
58
isRustDocument ( document )
59
59
) ;
60
60
61
- if ( folders . length == 0 && rustDocuments . length == 0 ) {
61
+ if ( folders . length === 0 && rustDocuments . length = == 0 ) {
62
62
// FIXME: Ideally we would choose not to activate at all (and avoid registering
63
63
// non-functional editor commands), but VS Code doesn't seem to have a good way of doing
64
64
// that
You can’t perform that action at this time.
0 commit comments