Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some minor bugs #405

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function removeCharsOutsideBraces(code: string): string {
while ((tempMatch = insideBracesRegex.exec(content)) !== null) {
result += tempMatch[0];
}
const processedContent = result || content;
const processedContent = result;

return match[0] + processedContent + match[0];
});
Expand Down
2 changes: 1 addition & 1 deletion src/test/pythonFiles/testVarTypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var1, var2 = 7, 6
var3 = "hola"
var3 = "var1"
var4 = {"a": 1, "b": 2}
var5 = [1, 2, 3]
var6 = var1 + var2
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const extensionConfig = {
'@opentelemetry/instrumentation': 'commonjs @opentelemetry/instrumentation', // ignored because we don't ship instrumentation
'@azure/opentelemetry-instrumentation-azure-sdk': 'commonjs @azure/opentelemetry-instrumentation-azure-sdk', // ignored because we don't ship instrumentation
'@azure/functions-core': '@azure/functions-core', // ignored because we don't ship instrumentation
'@microsoft/dynamicproto-js': '@microsoft/dynamicproto-js', // ignored because we don't ship instrumentation
},
resolve: {
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
Expand Down
Loading