diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c99cd..c2a35e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## version 2.19.2 + +- 修复某些情况下调用 allcase 报错,如 1017 题 + ## version 2.19.1 - 区域调试参数,等到使用的时候才生成 diff --git a/package-lock.json b/package-lock.json index aa99914..3fa3d67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-leetcode-problem-rating", - "version": "2.18.1", + "version": "2.19.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-leetcode-problem-rating", - "version": "2.18.1", + "version": "2.19.1", "license": "MIT", "dependencies": { "ansi-styles": "3.2.1", diff --git a/package.json b/package.json index 52e81ce..d935a24 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode-problem-rating", "displayName": "LeetCode", "description": "%main.description%", - "version": "2.19.1", + "version": "2.19.2", "author": "ccagml", "publisher": "ccagml", "license": "MIT", diff --git a/src/rpc/utils/storageUtils.ts b/src/rpc/utils/storageUtils.ts index 9875271..76d30b5 100644 --- a/src/rpc/utils/storageUtils.ts +++ b/src/rpc/utils/storageUtils.ts @@ -420,9 +420,9 @@ class StorageUtils { // 去掉头尾的\n public deleteWriteCaseHeadENDn(testCase) { - if (testCase.length < 3) { - return testCase; - } + // if (testCase.length < 3) { + // return testCase; + // } let start = 0; let end = testCase.length - 1; let flag = false;