Closed Bubb13 closed 1 year ago
How's that?
Thanks. Generally, this situation should probably be handled on initialization, but that calls for larger review, possibly with support for multi-root workspace that vscode has. Until then, this should do.
workspaceRoot
isundefined
when a file is opened without first opening a folder. I've attempted to fix all instances whereworkspaceRoot === undefined
caused a crash, undefined behavior, or an error to be logged.