Skip to content

Commit 1179f97

Browse files
Update configure.py
Co-authored-by: Stefan Stojanovic <StefanStojanovic@users.noreply.github.com>
1 parent 7675f7b commit 1179f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2274,7 +2274,7 @@ def make_bin_override():
22742274

22752275
print_verbose("running: \n " + " ".join(['python', 'tools/gyp_node.py'] + gyp_args))
22762276
run_gyp(gyp_args)
2277-
if sys.platform == 'win32':
2277+
if options.compile_commands_json and sys.platform == 'win32':
22782278
os.path.isfile('./compile_commands.json') and os.unlink('./compile_commands.json')
22792279
shutil.copy2('./out/' + config['BUILDTYPE'] + '/compile_commands.json', './compile_commands.json')
22802280
info('configure completed successfully')

0 commit comments

Comments
 (0)