Skip to content

Commit 3250d1f

Browse files
authored
Merge pull request #357 from github0null/dev
v3.18.1 revision
2 parents 9addf96 + 9998e7f commit 3250d1f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ All notable version changes will be recorded in this file.
66

77
***
88

9+
### [v3.18.1] revision
10+
11+
**Fix**:
12+
- `Project Resources`: When user unfold an unsorted vritual sources folder, the 'eide.json' will be changed by mistake.
13+
14+
***
15+
916
### [v3.18.0] update
1017

1118
**Incompatible Changes**:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"homepage": "https://em-ide.com",
3939
"license": "MIT",
4040
"description": "A mcu development environment for 8051/AVR/STM8/Cortex-M/MIPS/RISC-V",
41-
"version": "3.18.0",
41+
"version": "3.18.1",
4242
"preview": false,
4343
"engines": {
4444
"vscode": "^1.67.0"

src/EIDEProject.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import { WebPanelManager } from './WebPanelManager';
5757
import { DependenceManager } from './DependenceManager';
5858
import * as platform from './Platform';
5959
import { IDebugConfigGenerator } from './DebugConfigGenerator';
60-
import { md5, copyObject, compareVersion, isGccFamilyToolchain } from './utility';
60+
import { md5, copyObject, compareVersion, isGccFamilyToolchain, deepCloneObject } from './utility';
6161
import { ResInstaller } from './ResInstaller';
6262
import {
6363
view_str$prompt$not_found_compiler, view_str$operation$name_can_not_be_blank,
@@ -1201,7 +1201,7 @@ export abstract class AbstractProject implements CustomConfigurationProvider, Pr
12011201
}
12021202

12031203
getVirtualSourceRoot(): VirtualFolder {
1204-
return this.virtualSource.getRoot();
1204+
return deepCloneObject(this.virtualSource.getRoot());
12051205
}
12061206

12071207
getVirtualSourceManager(): VirtualSource {

0 commit comments

Comments
 (0)