Skip to content

Commit

Permalink
Fix #7473: remove src/util.h from headers file
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed May 20, 2020
1 parent b08dc76 commit e2e639f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/make-nw-headers.py
Expand Up @@ -94,6 +94,8 @@ def update_uvh(tmp_dir, header_files):
shutil.rmtree(os.path.join(tmp_dir, 'node', 'deps', 'v8', 'out'))
if os.path.exists(os.path.join(tmp_dir, 'node', 'deps', 'npm', 'node_modules')):
shutil.rmtree(os.path.join(tmp_dir, 'node', 'deps', 'npm', 'node_modules'))
if os.path.exists(os.path.join(tmp_dir, 'node', 'src', 'util.h')):
os.remove(os.path.join(tmp_dir, 'node', 'src', 'util.h'))

header_files = ['node.h', 'env.h', 'env-inl.h']
update_uvh(tmp_dir, header_files)
Expand Down

0 comments on commit e2e639f

Please sign in to comment.