Skip to content

Commit cf21712

Browse files
committed
fix(git): ambiguous reduce type
1 parent 7828841 commit cf21712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/git.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export const gitGenerators: Record<string, Fig.Generator> = {
295295
remotes: {
296296
script: ["git", "--no-optional-locks", "remote", "-v"],
297297
postProcess: function (out) {
298-
const remoteURLs = out.split("\n").reduce((dict, line) => {
298+
const remoteURLs = out.split("\n").reduce<Record<string, string>>((dict, line) => {
299299
const pair = line.split("\t");
300300
const remote = pair[0];
301301
const url = pair[1].split(" ")[0];

0 commit comments

Comments
 (0)