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: nodejs/node#41565
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
mawaregetsuka authored and guangwong committed Oct 10, 2022
1 parent 2d038a2 commit 124a5fc
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 @@ -1634,7 +1634,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 @@ -1886,7 +1886,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 @@ -2024,7 +2024,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 124a5fc

Please sign in to comment.