Skip to content

Commit

Permalink
feat: checkout from auto-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode authored and luckyadam committed Dec 26, 2019
1 parent 545d8f3 commit b725c88
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 @@ -55,7 +55,7 @@ export default function docsAPI (

if (diif) {
const canges = spawn('git', ['status', '-z'])

canges.stdout.on('data', (data) => {
const ss = data.toString().trim().split(/\u0000|\s+/ig)
ss.forEach(s => {
Expand Down Expand Up @@ -443,4 +443,4 @@ function isFunction (flags?: ts.SymbolFlags) {

function isOptional (flags?: ts.SymbolFlags) {
return SymbolFlags.includes((flags || -1) - ts.SymbolFlags.Optional)
}
}

0 comments on commit b725c88

Please sign in to comment.