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.cjs CHANGED
@@ -444,7 +444,7 @@ function parseGitLog(stdout) {
444
444
  if (fields.length < 11) {
445
445
  continue;
446
446
  }
447
- const hash = fields[0];
447
+ const hash = fields[0]?.trim();
448
448
  const abbrevHash = fields[1];
449
449
  const parentsStr = fields[2];
450
450
  const authorName = fields[3];