Skip to content

Commit

Permalink
fix: Use == for dict comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed May 31, 2023
1 parent 4f42392 commit e80daf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/utils/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit e80daf8

Please sign in to comment.