Skip to content

Commit 2d5d4ab

Browse files
authored
Merge pull request #185 from ralfhandl/main-fix-md2html
md2html: correct use of new yargs
2 parents b492626 + b3ae1e9 commit 2d5d4ab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/md2html/md2html.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const url = require('url');
1515
const hljs = require('highlight.js');
1616
const cheerio = require('cheerio');
1717

18-
let argv = require('yargs')
18+
let argv = require('yargs')(process.argv.slice(2))
1919
.string('maintainers')
2020
.alias('m','maintainers')
2121
.describe('maintainers','path to MAINTAINERS.md')
2222
.demandCommand(1)
23-
.argv;
23+
.parse();
2424
const abstract = 'What is the Overlay Specification?';
2525
let maintainers = [];
2626
let emeritus = [];

0 commit comments

Comments
 (0)