Skip to content

Commit 4dfc29d

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 94e8da8 commit 4dfc29d

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
@@ -1622,7 +1622,7 @@ def icu_download(path):
16221622

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

16271627
# always set icu_small, node.gyp depends on it being defined.
16281628
o['variables']['icu_small'] = b(False)
@@ -1874,7 +1874,7 @@ def icu_download(path):
18741874

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

18801880
def configure_inspector(o):
@@ -2003,7 +2003,7 @@ def make_bin_override():
20032003
print_verbose(output)
20042004

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

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

0 commit comments

Comments
 (0)