diff --git a/bench/utils/bench.py b/bench/utils/bench.py index 3fe7f85b..16fc206e 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())