Commit c3dc7c6
fix: avoid ENOTDIR when opening second instance.
If the resource is a file, do not try to `readdir`, but return undefined
Closes #1590
Signed-off-by: Akos Kitta <[email protected]>1 parent 7d6a2d5 commit c3dc7c6
File tree
1 file changed
+2
-2
lines changed- arduino-ide-extension/src/electron-main/theia
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments