Skip to content

Commit 625b860

Browse files
authored
Fix build failure (#21425)
Closes #21424
1 parent cb859ca commit 625b860

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

build/update_package_file.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@
33

44
import json
55
import pathlib
6-
import sys
76

87
EXT_ROOT = pathlib.Path(__file__).parent.parent
98
PACKAGE_JSON_PATH = EXT_ROOT / "package.json"
109

10+
1111
def main(package_json: pathlib.Path) -> None:
1212
package = json.loads(package_json.read_text(encoding="utf-8"))
13-
package['enableTelemetry'] = True
13+
package["enableTelemetry"] = True
1414

1515
# Overwrite package.json with new data add a new-line at the end of the file.
1616
package_json.write_text(
1717
json.dumps(package, indent=4, ensure_ascii=False) + "\n", encoding="utf-8"
1818
)
1919

20+
2021
if __name__ == "__main__":
21-
main(PACKAGE_JSON_PATH, sys.argv[1:])
22+
main(PACKAGE_JSON_PATH)

0 commit comments

Comments
 (0)