Skip to content

Commit

Permalink
Merge pull request #1183 from github/edoardo/fix-cache-key
Browse files Browse the repository at this point in the history
Fix cache key for TRAP caching
  • Loading branch information
edoardopirovano committed Aug 16, 2022
2 parents b3adcb7 + d8adbe9 commit ca10a6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/trap-caching.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/trap-caching.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/trap-caching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async function cacheKey(
language: Language,
baseSha: string
): Promise<string> {
return `${await cachePrefix(codeql, language)}-${baseSha}`;
return `${await cachePrefix(codeql, language)}${baseSha}`;
}

async function cachePrefix(
Expand Down

0 comments on commit ca10a6d

Please sign in to comment.