move electron.json to docs/api.json

This commit is contained in:
Zeke Sikelianos 2016-07-08 16:51:06 -07:00
parent 0c54700b16
commit 56a644d49f
2 changed files with 1 additions and 1 deletions

View file

@ -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>`)