diff --git a/src/gitinfo.js b/src/gitinfo.js index f2a7a07..20e9df5 100644 --- a/src/gitinfo.js +++ b/src/gitinfo.js @@ -15,9 +15,9 @@ type TypeConfig = { }; export default (config: TypeConfig = {}): Object => { - let gitPath; config.gitPath = config.gitPath || __dirname; + let gitPath: string; const gitinfo = {};