Skip to content

Commit ef8778a

Browse files
committed
fix: set gitPath variable type
1 parent 242f24e commit ef8778a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type TypeConfig = {
1515
};
1616

1717
export default (config: TypeConfig = {}): Object => {
18-
let gitPath;
1918

2019
config.gitPath = config.gitPath || __dirname;
20+
let gitPath: string;
2121

2222
const gitinfo = {};
2323

0 commit comments

Comments
 (0)