Skip to content

Commit

Permalink
tools: fixed bug causing JSON format to be broken
Browse files Browse the repository at this point in the history
PR-URL: #41565
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
mawaregetsuka authored Mar 31, 2022
1 parent 7319419 commit 605a01b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,7 @@ def icu_download(path):

# write an empty file to start with
write(icu_config_name, do_not_edit +
pprint.pformat(icu_config, indent=2) + '\n')
pprint.pformat(icu_config, indent=2, width=1024) + '\n')

# always set icu_small, node.gyp depends on it being defined.
o['variables']['icu_small'] = b(False)
Expand Down Expand Up @@ -1875,7 +1875,7 @@ def icu_download(path):

# write updated icu_config.gypi with a bunch of paths
write(icu_config_name, do_not_edit +
pprint.pformat(icu_config, indent=2) + '\n')
pprint.pformat(icu_config, indent=2, width=1024) + '\n')
return # end of configure_intl

def configure_inspector(o):
Expand Down Expand Up @@ -2004,7 +2004,7 @@ def make_bin_override():
print_verbose(output)

write('config.gypi', do_not_edit +
pprint.pformat(output, indent=2) + '\n')
pprint.pformat(output, indent=2, width=1024) + '\n')

write('config.status', '#!/bin/sh\nset -x\nexec ./configure ' +
' '.join([pipes.quote(arg) for arg in original_argv]) + '\n')
Expand Down

0 comments on commit 605a01b

Please sign in to comment.