Skip to content

Commit 93b12a5

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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent 9f567e7 commit 93b12a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure

+1-2
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)