If you open VS Code without any workspace folders (for example click File -> Close Folder) and then do anything that triggers the Biome extension to be activated (for example open a .ts file), the extension fails to activate with:
Activating extension 'biomejs.biome' failed: import_vscode6.workspace.workspaceFolders is not iterable.
Possibly caused by this code not handling undefined?
If you open VS Code without any workspace folders (for example click File -> Close Folder) and then do anything that triggers the Biome extension to be activated (for example open a
.ts
file), the extension fails to activate with:Possibly caused by this code not handling
undefined
?https://github.com/biomejs/biome-vscode/blob/4ab1e11d9fbfac0e2f553723f484898436bb3b0a/src/main.ts#L384