Unverified Commit a0e05e88 authored by Daniel Bevenius's avatar Daniel Bevenius Committed by Anna Henningsen
Browse files

tools: fix tools/addon-verify.js

The current implementation of addon-verify.js is including the code
for the "Function arguments" section in test/addons/01_callbacks and
there is no directory generated or the "Function arguments section".
This continues and leads to the last section, "AtExit", code to be
excluded. There is an test/addons/07_atexit_hooks but it contains code
from the "Passing wrapped objects around" section.

This commit modifies addon-verify to associate headers with code and
then iterates over the set and generates the files as a separate step.

PR-URL: https://github.com/nodejs/node/pull/14048


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 06ba2dae
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment