Skip to content

Commit

Permalink
fix: error var name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Dec 30, 2019
1 parent fffa784 commit c6c9c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/docs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit c6c9c02

Please sign in to comment.