Bug 1538770 broke clang-format commands that don't take a path.

RESOLVED FIXED in Firefox 68

Status

defect
RESOLVED FIXED
3 months ago
3 months ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

(Regression)

Trunk
mozilla68

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

STR:

./mach clang-format -c HEAD

Expected result:

Commit gets formatted.

AR:

TypeError: argument 2 to map() must support iteration

File "/home/emilio/src/moz/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2425, in clang_format
path = map(os.path.abspath, path)

Comment 2

3 months ago
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aab55dab4d5b
Fix clang-format subcommands that don't take a path. r=bastien

Comment 3

3 months ago
bugherder
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.