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
  • Loading branch information
mawaregetsuka committed Jan 17, 2022
1 parent 74b9baa commit 0d7ce77
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 @@ -1593,7 +1593,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 @@ -1845,7 +1845,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 @@ -1974,7 +1974,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 0d7ce77

Please sign in to comment.