Closed james-hu closed 9 years ago
This was fixed together with #1, the code just didn't expect the output git gives with --always
when there are no tags (i.e. just a commit hash). Wanted to make one little remark -- you can just pass in your config object as the first argument (gitDescribe({customArguments: [...]})
), no need to explicitly skip it with null/undefined :wink:
thanks for quick response and the hint!
When there was no tag in the repository, I got "+NaN.74edeea.dirty" as the return value of: gitDescribe(undefined, {customArguments: ["--always"]}).semverString;
I guess it was caused by an invalid value of distance.