Build using TS 2.5 (#33705)

* Build using TS 2.5

Fixes #33704

* Remove explicit return type
This commit is contained in:
Matt Bierner
2017-09-01 13:52:42 -07:00
committed by GitHub
parent 60b9296fb1
commit 69afce7650
5 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ function findGitDarwin(): Promise<IGit> {
function getVersion(path: string) {
// make sure git executes
cp.exec('git --version', (err, stdout: Buffer) => {
cp.exec('git --version', (err: Error, stdout: any) => {
if (err) {
return e('git not found');
}