Skip to content

Commit

Permalink
Merge pull request #1503 from Azure/fix-sdkauto
Browse files Browse the repository at this point in the history
Update nodegit to 0.27.0
  • Loading branch information
anthony-c-martin authored Feb 15, 2021
2 parents 36e99d2 + 78ab880 commit 5cce369
Show file tree
Hide file tree
Showing 3 changed files with 1,369 additions and 12 deletions.
4 changes: 2 additions & 2 deletions generator/cmd/postprocessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ function getStatus(file: any){
}

async function getChangedSchemas(repoPath: string) {
var Git = require("nodegit");
const Git = require('nodegit');
const repo = await Git.Repository.open(repoPath);
const files = await repo.getStatus();
let status = [];
let status: any[] = [];
if (files.length) {
status = files.map(getStatus);
}
Expand Down
Loading

0 comments on commit 5cce369

Please sign in to comment.