type-git 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -383,7 +383,7 @@ function parseGitLog(stdout) {
383
383
  if (fields.length < 11) {
384
384
  continue;
385
385
  }
386
- const hash = fields[0];
386
+ const hash = fields[0]?.trim();
387
387
  const abbrevHash = fields[1];
388
388
  const parentsStr = fields[2];
389
389
  const authorName = fields[3];