diff --git a/scripts/docs-api.ts b/scripts/docs-api.ts index f53dd93de97e..affae4ae4caa 100644 --- a/scripts/docs-api.ts +++ b/scripts/docs-api.ts @@ -49,11 +49,11 @@ export default function docsAPI ( files: string[], callback: TCallback = () => {}, withLog = true, - diif = true, + diff = true, ) { const cwd: string = process.cwd(); - if (diif) { + if (diff) { const canges = spawn('git', ['status', '-z']) canges.stdout.on('data', (data) => {