Skip to content

Commit

Permalink
Fix incorrect cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCMD committed Dec 9, 2021
1 parent 50db175 commit dd816a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion scripts/wrapper/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ export async function saveCache(cacheVersion: number): Promise<void> {
}

function getCacheKey(version: number, branch?: string, uniqueID?: number): string {
return `datapack-linter-${version + privateCacheVersion}-${branch}${branch ? '-' : ''}${uniqueID ?? ''}`;
return `datapack-linter-${version + privateCacheVersion}-${branch ?? ''}${branch ? '-' : ''}${uniqueID ?? ''}`;
}

0 comments on commit dd816a6

Please sign in to comment.