Skip to content

Commit

Permalink
fix: set gitPath variable type
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 9, 2016
1 parent 242f24e commit ef8778a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gitinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type TypeConfig = {
};

export default (config: TypeConfig = {}): Object => {
let gitPath;

config.gitPath = config.gitPath || __dirname;
let gitPath: string;

const gitinfo = {};

Expand Down

0 comments on commit ef8778a

Please sign in to comment.