From e80daf8c3e78ae5a675d5c9d1b75a92d1fe57eae Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Wed, 31 May 2023 13:57:27 +0530 Subject: [PATCH] fix: Use == for dict comparison --- bench/utils/bench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/utils/bench.py b/bench/utils/bench.py index 3fe7f85b6..16fc206e3 100644 --- a/bench/utils/bench.py +++ b/bench/utils/bench.py @@ -155,7 +155,7 @@ def update_npm_packages(bench_path=".", apps=None): else: package_json[key] = value - if package_json is {}: + if package_json == {}: with open(os.path.join(os.path.dirname(__file__), "package.json")) as f: package_json = json.loads(f.read())