Skip to content

Commit 321539c

Browse files
mawaregetsukajuanarbol
authored andcommitted
tools: fixed bug causing JSON format to be broken
PR-URL: #41565 Reviewed-By: James M Snell <[email protected]>
1 parent 5315dd2 commit 321539c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ def icu_download(path):
16261626

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

16311631
# always set icu_small, node.gyp depends on it being defined.
16321632
o['variables']['icu_small'] = b(False)
@@ -1878,7 +1878,7 @@ def icu_download(path):
18781878

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

18841884
def configure_inspector(o):
@@ -2016,7 +2016,7 @@ def make_bin_override():
20162016
print_verbose(output)
20172017

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

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

0 commit comments

Comments
 (0)