mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
move electron.json to docs/api.json
This commit is contained in:
@@ -6,7 +6,7 @@ const lint = require('electron-docs-linter')
|
||||
const args = process.argv.slice(2)
|
||||
const docsPath = path.join(__dirname, '../docs/api')
|
||||
const targetVersion = args[0]
|
||||
const outFile = path.join(__dirname, '../electron.json')
|
||||
const outFile = path.join(__dirname, '../docs/api.json')
|
||||
|
||||
if (!targetVersion) {
|
||||
console.error(`Usage: ./script/lint-docs.js <targetVersion>`)
|
||||
|
||||
Reference in New Issue
Block a user