download
raw
569 Bytes
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import json
import pathlib
def main(package_json: pathlib.Path) -> None:
package = json.loads(package_json.read_text(encoding="utf-8"))
package["enableTelemetry"] = True
# Overwrite package.json with new data add a new-line at the end of the file.
package_json.write_text(
json.dumps(package, indent=4, ensure_ascii=False) + "\n", encoding="utf-8"
)
if __name__ == "__main__":
main(pathlib.Path(__file__).parent.parent / "package.json")

Xet Storage Details

Size:
569 Bytes
·
Xet hash:
16ba01c71f927f0f12af7495b5bccab8174ba47245f48d2d99da4627eb9d7cc7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.