Skip to content

Commit d742e17

Browse files
committed
Quick export fix
1 parent 2d8399a commit d742e17

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to the "ti-basic" extension will be documented in this file.
44

5+
## [1.0.2] - 2024-04-11
6+
7+
### Fixed
8+
9+
- Issue with exporting on Windows I missed has been fixed.
10+
511
## [1.0.1] - 2024-04-11
612

713
### Fixed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ti-basic",
33
"displayName": "TI-BASIC",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"description": "VS Code language support for (e)Z80 TI-BASIC",
66
"author": {
77
"name": "TIny_Hacker",

src/extension.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ function activate(context) {
9393
source += lines[i].trimStart() + '\r\n';
9494
}
9595

96+
fs.writeFileSync(fileUri.fsPath, '');
97+
9698
prgm = lib.TIVarFile.createNew(lib.TIVarType.createFromName("Program"), parsed.name, lib.TIModel.createFromName(type));
9799
prgm.setContentFromString(source);
98100
prgm.saveVarToFile('/local' + fileUri.fsPath.replace(/^[a-zA-Z]:/, '').split(path.sep).join(path.posix.sep));

0 commit comments

Comments
 (0)