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#41565
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
mawaregetsuka authored and juanarbol committed Apr 4, 2022
1 parent 94e8da8 commit 4dfc29d
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 @@ -1622,7 +1622,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 @@ -1874,7 +1874,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 @@ -2003,7 +2003,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 4dfc29d

Please sign in to comment.