Skip to content

Commit 5652d2b

Browse files
jrdfirecow
andauthored
Update src/parser-includes.ts
Co-authored-by: Mads Jon Nielsen <madsjon@gmail.com>
1 parent cf7ad82 commit 5652d2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser-includes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export class ParserIncludes {
261261
}
262262
const cmdStr = cmdArgs.join(" ");
263263
let info = this.gitRemoteInfoCache[cmdStr];
264-
if (!info) {
264+
if (!(cmdStr in this.gitRemoteInfoCache)) {
265265
info = Utils.syncSpawn(cmdArgs).stdout;
266266
this.gitRemoteInfoCache[cmdStr] = info;
267267
}

0 commit comments

Comments
 (0)