Skip to content

Commit 9f32f7f

Browse files
committed
Fixes #2, terminal constantly crashing on linux
1 parent 89f0192 commit 9f32f7f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ All notable changes to the "pico-w-go" extension will be documented in this file
99
- Updated stub
1010
- Remove telnet and unix socket interfaces as they are never used and unable to connect to any plain MicroPython Raspberry Pi Pico (W) board
1111

12+
## [2.0.4] - 2022-09-06
13+
### Known issues
14+
- Sometimes if you were already connected to a board which has not been unpluged since than and you restart VS Code autoconnect does not go into REPL mode correctly
15+
- Run current file does not include modules that are localy imported and in current workspace, unless you upload the python file containing the module via the upload file or project feature first.
16+
### Changed
17+
- Fixes constantly crashing terminal on linux
18+
1219
## [2.0.3] - 2022-09-05
1320
### Known issues
1421
- Sometimes if you were already connected to a board which has not been unpluged since than and you restart VS Code autoconnect does not go into REPL mode correctly

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pico-w-go",
33
"displayName": "Pico-W-Go",
44
"description": "Autocompletion and a REPL console for the Raspberry Pi Pico (W).",
5-
"version": "2.0.3",
5+
"version": "2.0.4",
66
"publisher": "paulober",
77
"license": "SEE LICENSE IN LICENSE.md",
88
"homepage": "https://github.com/paulober/Pico-W-Go/blob/main/README.md",

src/apiWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class ApiWrapper {
2525
.replace('/lib/main', '/')
2626
.replace(/\//g, '\\');
2727
} else {
28-
return __dirname.replace('/lib/main', '/');
28+
return path.join(__dirname, "..").replace('/lib/main', '/');
2929
}
3030
}
3131

0 commit comments

Comments
 (0)