Skip to content

Commit

Permalink
Fix some minor bugs (#405)
Browse files Browse the repository at this point in the history
* Update test for the error

* fix @microsoft/dynamicproto-js error
  • Loading branch information
paulacamargo25 authored Jul 24, 2024
1 parent 83c5cb5 commit d259e1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
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

0 comments on commit d259e1d

Please sign in to comment.