Skip to content

Commit

Permalink
chore: 先去掉版本检查
Browse files Browse the repository at this point in the history
  • Loading branch information
giscafer committed Sep 5, 2024
1 parent fe353fd commit 0fd2d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ function setGlobalVariable() {
// 临时解决3.10.1~3.10.3 pr产生的分组bug
const leekFundExt = extensions.getExtension('giscafer.leek-fund');
const currentVersion = leekFundExt?.packageJSON?.version;
if (compare(currentVersion, '3.9.2', '>=')) {
// if (compare(currentVersion, '3.9.2', '>=')) {
const arr = LeekFundConfig.getConfig('leek-fund.stocks') || [];
const stockList = uniq(compact(flattenDeep(arr)));
LeekFundConfig.setConfig('leek-fund.stocks', stockList);
}
// }
}

// this method is called when your extension is deactivated
Expand Down

0 comments on commit 0fd2d71

Please sign in to comment.