Skip to content

Commit 5743d52

Browse files
committed
avoid deprecated function
1 parent e2cf596 commit 5743d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/md2html/md2html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let argv = require('yargs')
2323
.string('maintainers')
2424
.alias('m','maintainers')
2525
.describe('maintainers','path to MAINTAINERS.md')
26-
.require(1)
26+
.demandCommand(1)
2727
.argv;
2828
const abstract = 'What is the OpenAPI Specification?';
2929
let maintainers = [];

0 commit comments

Comments
 (0)