File tree
Expand file treeCollapse file tree2 files changed
+2
-2
lines changed Expand file treeCollapse file tree2 files changed
+2
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
|
2 | 2 | "name": "python-leetcode",
|
3 | 3 | "displayName": "PythonLeetcode",
|
4 | 4 | "description": "Solve LeetCode problems in VS Code",
|
5 |
| -"version": "1.0.3", |
| 5 | +"version": "1.0.4", |
6 | 6 | "author": "KuiyuanFu",
|
7 | 7 | "publisher": "KuiyuanFu",
|
8 | 8 | "license": "MIT",
|
|
Original file line number | Diff line number | Diff line change |
---|
@@ -342,7 +342,7 @@ class LeetCodeExecutor implements Disposable {
|
342 | 342 | return "listToListNode(" + p + ")"
|
343 | 343 | }
|
344 | 344 | else if (paraItemPair[1] == 'TreeNode') {
|
345 |
| -p = p.replace('null', 'None') |
| 345 | +p = p.replace(/null/g, 'None') |
346 | 346 | return "listToTreeNode(" + p + ")"
|
347 | 347 | }
|
348 | 348 | else {
|
|
You can’t perform that action at this time.
0 commit comments