Skip to content

Commit

Permalink
tools: allow empty keys in gyp dictionaries
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored and nodejs-github-bot committed Apr 28, 2024
1 parent bf5ea63 commit 8dbe09c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/gyp/pylib/gyp/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -2538,6 +2538,8 @@ def ProcessListFiltersInDict(name, the_dict):
lists = []
del_lists = []
for key, value in the_dict.items():
if len(key) == 0:
continue
operation = key[-1]
if operation not in {"!", "/"}:
continue
Expand Down

0 comments on commit 8dbe09c

Please sign in to comment.