From 5a723b8c5a57d833b620d955a5498f6d5676d74a Mon Sep 17 00:00:00 2001 From: ccagml Date: Sat, 14 Oct 2023 11:08:32 +0800 Subject: [PATCH] =?UTF-8?q?win10=20=E4=B8=8A=20python3=20=E8=B0=83?= =?UTF-8?q?=E8=AF=95=20sys.argv=20=E4=BC=9A=E5=BF=BD=E7=95=A5=E7=A9=BA?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/service/DebugService.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 357a213..755c4fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# version 2.19.19 + +- win10 上 python3 调试 sys.argv 会忽略空字符串参数 + # version 2.19.18 - 使用新的 mvc 代码结构修改 statusBar 相关内容 diff --git a/package.json b/package.json index a4081a4..c331cc3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode-problem-rating", "displayName": "LeetCode", "description": "%main.description%", - "version": "2.19.18", + "version": "2.19.19", "author": "ccagml", "publisher": "ccagml", "license": "MIT", diff --git a/src/service/DebugService.ts b/src/service/DebugService.ts index 45cd682..bdbb6cf 100644 --- a/src/service/DebugService.ts +++ b/src/service/DebugService.ts @@ -113,7 +113,7 @@ class DebugService { testString, problemType.funName, problemType.paramTypes.join(","), - problemType.returnType || "", + problemType.returnType || "returnType", meta.id, (this.server.address() as net.AddressInfo).port.toString(), ];