We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583d6c9 commit 79405adCopy full SHA for 79405ad
src/git.ts
@@ -128,7 +128,8 @@ export const gitGenerators: Record<string, Fig.Generator> = {
128
129
const lines = output.split("\n");
130
const firstLine = lines.length > 0 ? lines[0] : undefined;
131
- const hashLength = firstLine && firstLine.length > 0 ? firstLine.indexOf(' ') : 7;
+ const hashLength =
132
+ firstLine && firstLine.length > 0 ? firstLine.indexOf(" ") : 7;
133
const descriptionStart = hashLength + 1;
134
135
return lines.map((line) => {
0 commit comments