Skip to content

Commit

Permalink
Fixes #2, terminal constantly crashing on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
paulober committed Sep 6, 2022
1 parent 89f0192 commit 9f32f7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ All notable changes to the "pico-w-go" extension will be documented in this file
- Updated stub
- Remove telnet and unix socket interfaces as they are never used and unable to connect to any plain MicroPython Raspberry Pi Pico (W) board

## [2.0.4] - 2022-09-06
### Known issues
- 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
- 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.
### Changed
- Fixes constantly crashing terminal on linux

## [2.0.3] - 2022-09-05
### Known issues
- 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pico-w-go",
"displayName": "Pico-W-Go",
"description": "Autocompletion and a REPL console for the Raspberry Pi Pico (W).",
"version": "2.0.3",
"version": "2.0.4",
"publisher": "paulober",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://github.com/paulober/Pico-W-Go/blob/main/README.md",
Expand Down
2 changes: 1 addition & 1 deletion src/apiWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class ApiWrapper {
.replace('/lib/main', '/')
.replace(/\//g, '\\');
} else {
return __dirname.replace('/lib/main', '/');
return path.join(__dirname, "..").replace('/lib/main', '/');
}
}

Expand Down

0 comments on commit 9f32f7f

Please sign in to comment.