Skip to content

Commit 4b2daec

Browse files
committed
refactor: nits
1 parent 0fd51c0 commit 4b2daec

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ Options:
3939
-o, --output <path> Specify the relative or absolute output directory
4040
-v, --version <semver> Specify the target version of Node.js, semver compliant (default: "v22.6.0")
4141
-c, --changelog <url> Specify the path (file: or https://) to the CHANGELOG.md file (default: "https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md")
42-
-t, --target [mode...] Set the processing target modes (choices: "json-simple", "legacy-html", "legacy-html-all", "man-page", "legacy-json", "legacy-json-all")
42+
-t, --target [mode...] Set the processing target modes (choices: "json-simple", "legacy-html", "legacy-html-all", "man-page", "legacy-json", "legacy-json-all", "addon-verify")
4343
-h, --help display help for command
4444
```

src/generators/addon-verify/index.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
'use strict';
22

3-
import { visit } from 'unist-util-visit';
43
import { mkdir, writeFile } from 'node:fs/promises';
54
import { join } from 'node:path';
5+
6+
import { visit } from 'unist-util-visit';
7+
68
import { updateFilesForBuild } from './utils/updateFilesForBuild.mjs';
79
import { EXTRACT_CODE_FILENAME_COMMENT } from './constants.mjs';
810

@@ -30,7 +32,8 @@ export default {
3032

3133
version: '1.0.0',
3234

33-
description: '',
35+
description:
36+
'Generates a file list from code blocks extracted from `doc/api/addons.md` to facilitate C++ compilation and JavaScript runtime validations',
3437

3538
dependsOn: 'ast',
3639

0 commit comments

Comments
 (0)