From a9f2636d12df5018c04b19581697c49cb50fe435 Mon Sep 17 00:00:00 2001 From: mawaregetsuka <33221990+mawaregetsuka@users.noreply.github.com> Date: Thu, 31 Mar 2022 20:44:50 +0800 Subject: [PATCH] tools: fixed bug causing JSON format to be broken PR-URL: https://github.com/nodejs/node/pull/41565 Reviewed-By: James M Snell --- configure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.py b/configure.py index c75b620d385f8b..b67945e028f16a 100755 --- a/configure.py +++ b/configure.py @@ -1622,7 +1622,7 @@ def icu_download(path): # 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) @@ -1874,7 +1874,7 @@ def icu_download(path): # 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): @@ -2003,7 +2003,7 @@ def make_bin_override(): 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')