Skip to content

Commit 51cfb6c

Browse files
mawaregetsukatargos
authored andcommitted
tools: fixed bug causing JSON format to be broken
PR-URL: #41565 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ce3bfd3 commit 51cfb6c

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

16351635
# write an empty file to start with
16361636
write(icu_config_name, do_not_edit +
1637-
pprint.pformat(icu_config, indent=2) + '\n')
1637+
pprint.pformat(icu_config, indent=2, width=1024) + '\n')
16381638

16391639
# always set icu_small, node.gyp depends on it being defined.
16401640
o['variables']['icu_small'] = b(False)
@@ -1886,7 +1886,7 @@ def icu_download(path):
18861886

18871887
# write updated icu_config.gypi with a bunch of paths
18881888
write(icu_config_name, do_not_edit +
1889-
pprint.pformat(icu_config, indent=2) + '\n')
1889+
pprint.pformat(icu_config, indent=2, width=1024) + '\n')
18901890
return # end of configure_intl
18911891

18921892
def configure_inspector(o):
@@ -2024,7 +2024,7 @@ def make_bin_override():
20242024
print_verbose(output)
20252025

20262026
write('config.gypi', do_not_edit +
2027-
pprint.pformat(output, indent=2) + '\n')
2027+
pprint.pformat(output, indent=2, width=1024) + '\n')
20282028

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

0 commit comments

Comments
 (0)