Skip to content

Commit

Permalink
chore: refactored empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 3, 2024
1 parent 51650d0 commit d090b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/utils/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function getManifest(context: GitHubContext, plugin: string | GithubPlugi
}

async function fetchActionManifest(context: GitHubContext<"issue_comment.created">, { owner, repo, ref }: GithubPlugin): Promise<Manifest | null> {
const manifestKey = `${owner}:${repo}:${ref ?? ""}`;
const manifestKey = ref ? `${owner}:${repo}:${ref}` : `${owner}:${repo}`;
if (_manifestCache[manifestKey]) {
return _manifestCache[manifestKey];
}
Expand Down

0 comments on commit d090b9c

Please sign in to comment.