Skip to content

Commit 5cce369

Browse files
Merge pull request #1503 from Azure/fix-sdkauto
Update nodegit to 0.27.0
2 parents 36e99d2 + 78ab880 commit 5cce369

File tree

3 files changed

+1369
-12
lines changed

3 files changed

+1369
-12
lines changed

generator/cmd/postprocessor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ function getStatus(file: any){
2121
}
2222

2323
async function getChangedSchemas(repoPath: string) {
24-
var Git = require("nodegit");
24+
const Git = require('nodegit');
2525
const repo = await Git.Repository.open(repoPath);
2626
const files = await repo.getStatus();
27-
let status = [];
27+
let status: any[] = [];
2828
if (files.length) {
2929
status = files.map(getStatus);
3030
}

0 commit comments

Comments
 (0)