File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
5151 // We only support local folders, not eg. Live Share (`vlsl:` scheme), so don't activate if
5252 // only those are in use.
5353 // (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"
5656 ) ;
5757 const rustDocuments = vscode . workspace . textDocuments . filter ( ( document ) =>
5858 isRustDocument ( document )
5959 ) ;
6060
61- if ( folders . length == 0 && rustDocuments . length == 0 ) {
61+ if ( folders . length === 0 && rustDocuments . length = == 0 ) {
6262 // FIXME: Ideally we would choose not to activate at all (and avoid registering
6363 // non-functional editor commands), but VS Code doesn't seem to have a good way of doing
6464 // that
You can’t perform that action at this time.
0 commit comments