tools: fixed bug causing JSON format to be broken
PR-URL: https://github.com/nodejs/node/pull/41565 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
7319419787
commit
605a01bcfb
@ -1623,7 +1623,7 @@ def configure_intl(o):
|
||||
|
||||
# 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)
|
||||
@ -1875,7 +1875,7 @@ def configure_intl(o):
|
||||
|
||||
# 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):
|
||||
@ -2004,7 +2004,7 @@ if make_global_settings:
|
||||
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user