Skip to content

Commit b9b89c4

Browse files
kittaakosAlberto Iannaccone
and
Alberto Iannaccone
authored
Update arduino-ide-extension/src/browser/theia/workspace/workspace-service.ts
Co-authored-by: Alberto Iannaccone <[email protected]>
1 parent 91c7cef commit b9b89c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-ide-extension/src/browser/theia/workspace/workspace-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class WorkspaceService extends TheiaWorkspaceService {
6868
// When opening a file instead of a directory, IDE2 (and Theia) expects a workspace JSON file.
6969
// Nothing will work if the workspace file is invalid. Users tend to start (see #964) IDE2 from the `.ino` files,
7070
// so here, IDE2 tries to load the sketch via the CLI from the main sketch file URI.
71-
// If loading the sketch is OK, IDE2 starts and uses that the sketch folder as the workspace root instead of the sketch file.
71+
// If loading the sketch is OK, IDE2 starts and uses the sketch folder as the workspace root instead of the sketch file.
7272
// If loading fails due to invalid name error, IDE2 loads a temp sketch and preserves the startup error, and offers the sketch move to the user later.
7373
// If loading the sketch fails, create a fallback sketch and open the new temp sketch folder as the workspace root.
7474
if (stat.isFile && stat.resource.path.ext === '.ino') {

0 commit comments

Comments
 (0)