Skip to content

Commit

Permalink
Review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Mar 30, 2024
1 parent 9f9bb3b commit 20cb283
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pylib/gyp/generator/compile_commands_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
AddCommandsForTarget(cwd, target, params, per_config_commands)

try:
# generator_output can be `None`, which means the current working directory
output_dir = params["options"].generator_output or os.getcwd()
except (AttributeError, KeyError):
output_dir = params["generator_flags"].get("output_dir", "out")
Expand Down

0 comments on commit 20cb283

Please sign in to comment.