Skip to content

Commit d259e1d

Browse files
Fix some minor bugs (#405)
* Update test for the error * fix @microsoft/dynamicproto-js error
1 parent 83c5cb5 commit d259e1d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/extension/debugger/inlineValue/pythonInlineValueProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function removeCharsOutsideBraces(code: string): string {
123123
while ((tempMatch = insideBracesRegex.exec(content)) !== null) {
124124
result += tempMatch[0];
125125
}
126-
const processedContent = result || content;
126+
const processedContent = result;
127127

128128
return match[0] + processedContent + match[0];
129129
});

src/test/pythonFiles/testVarTypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var1, var2 = 7, 6
2-
var3 = "hola"
2+
var3 = "var1"
33
var4 = {"a": 1, "b": 2}
44
var5 = [1, 2, 3]
55
var6 = var1 + var2

webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const extensionConfig = {
3838
'@opentelemetry/instrumentation': 'commonjs @opentelemetry/instrumentation', // ignored because we don't ship instrumentation
3939
'@azure/opentelemetry-instrumentation-azure-sdk': 'commonjs @azure/opentelemetry-instrumentation-azure-sdk', // ignored because we don't ship instrumentation
4040
'@azure/functions-core': '@azure/functions-core', // ignored because we don't ship instrumentation
41-
'@microsoft/dynamicproto-js': '@microsoft/dynamicproto-js', // ignored because we don't ship instrumentation
4241
},
4342
resolve: {
4443
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader

0 commit comments

Comments
 (0)