Skip to content

Commit 0d7ce77

Browse files
committed
tools: fixed bug causing JSON format to be broken
1 parent 74b9baa commit 0d7ce77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ def icu_download(path):
15931593

15941594
# write an empty file to start with
15951595
write(icu_config_name, do_not_edit +
1596-
pprint.pformat(icu_config, indent=2) + '\n')
1596+
pprint.pformat(icu_config, indent=2, width=1024) + '\n')
15971597

15981598
# always set icu_small, node.gyp depends on it being defined.
15991599
o['variables']['icu_small'] = b(False)
@@ -1845,7 +1845,7 @@ def icu_download(path):
18451845

18461846
# write updated icu_config.gypi with a bunch of paths
18471847
write(icu_config_name, do_not_edit +
1848-
pprint.pformat(icu_config, indent=2) + '\n')
1848+
pprint.pformat(icu_config, indent=2, width=1024) + '\n')
18491849
return # end of configure_intl
18501850

18511851
def configure_inspector(o):
@@ -1974,7 +1974,7 @@ def make_bin_override():
19741974
print_verbose(output)
19751975

19761976
write('config.gypi', do_not_edit +
1977-
pprint.pformat(output, indent=2) + '\n')
1977+
pprint.pformat(output, indent=2, width=1024) + '\n')
19781978

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

0 commit comments

Comments
 (0)