Skip to content

Commit 212475b

Browse files
krydosevanlucas
authored andcommitted
build: use do_not_edit variable where possible
We should not use hardcoded string to warn users about file was generated by configure script. Since we already have do_not_edit variable we can use it PR-URL: #12610 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
1 parent 745dea9 commit 212475b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,8 +1370,7 @@ if options.prefix:
13701370

13711371
config = '\n'.join(map('='.join, config.iteritems())) + '\n'
13721372

1373-
write('config.mk',
1374-
'# Do not edit. Generated by the configure script.\n' + config)
1373+
write('config.mk', do_not_edit + config)
13751374

13761375
gyp_args = [sys.executable, 'tools/gyp_node.py', '--no-parallel']
13771376

0 commit comments

Comments
 (0)