move electron.json to docs/api.json
This commit is contained in:
parent
0c54700b16
commit
56a644d49f
2 changed files with 1 additions and 1 deletions
|
@ -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>`)
|
||||
|
|
Loading…
Add table
Reference in a new issue