Skip to content
This repository was archived by the owner on May 1, 2022. It is now read-only.

Commit

Permalink
bugfix: trim whitespaces for ref commit id
Browse files Browse the repository at this point in the history
  • Loading branch information
qinezh committed Jan 31, 2021
1 parent 6f21d82 commit 76082b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ export default class Helper {
return { type: "branch", value: branchMatches[1] }
}

return { type: "commit", value: content };
return { type: "commit", value: content.trim() };
}
}

0 comments on commit 76082b5

Please sign in to comment.