Skip to content

Commit

Permalink
refactor: nits
Browse files Browse the repository at this point in the history
  • Loading branch information
araujogui committed Jan 10, 2025
1 parent 0fd51c0 commit 4b2daec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ Options:
-o, --output <path> Specify the relative or absolute output directory
-v, --version <semver> Specify the target version of Node.js, semver compliant (default: "v22.6.0")
-c, --changelog <url> Specify the path (file: or https://) to the CHANGELOG.md file (default: "https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md")
-t, --target [mode...] Set the processing target modes (choices: "json-simple", "legacy-html", "legacy-html-all", "man-page", "legacy-json", "legacy-json-all")
-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")
-h, --help display help for command
```
7 changes: 5 additions & 2 deletions src/generators/addon-verify/index.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
'use strict';

import { visit } from 'unist-util-visit';
import { mkdir, writeFile } from 'node:fs/promises';
import { join } from 'node:path';

import { visit } from 'unist-util-visit';

import { updateFilesForBuild } from './utils/updateFilesForBuild.mjs';
import { EXTRACT_CODE_FILENAME_COMMENT } from './constants.mjs';

Expand Down Expand Up @@ -30,7 +32,8 @@ export default {

version: '1.0.0',

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

dependsOn: 'ast',

Expand Down

0 comments on commit 4b2daec

Please sign in to comment.