mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(types): lint the api docs with typescript (#3577)
This commit is contained in:
committed by
Andrey Lushnikov
parent
fb5b0800ec
commit
a0cbaf39ab
@@ -48,8 +48,9 @@ async function run() {
|
||||
const browser = await puppeteer.launch();
|
||||
const page = await browser.newPage();
|
||||
const checkPublicAPI = require('./check_public_api');
|
||||
const jsSources = await Source.readdir(path.join(PROJECT_DIR, 'lib'), '.js');
|
||||
const jsSources = await Source.readdir(path.join(PROJECT_DIR, 'lib'));
|
||||
messages.push(...await checkPublicAPI(page, mdSources, jsSources));
|
||||
|
||||
await browser.close();
|
||||
|
||||
for (const source of mdSources) {
|
||||
|
||||
Reference in New Issue
Block a user