Skip to content

Commit

Permalink
Avoid leading dash in cache key. (#67)
Browse files Browse the repository at this point in the history
Fixes #66.
  • Loading branch information
obi1kenobi authored Mar 19, 2024
1 parent 17d9392 commit c730648
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/rustdoc-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class RustdocCache {
private async cacheKey(): Promise<string> {
if (!this.__cacheKey) {
this.__cacheKey = [
rustCore.input.getInput("prefix-key") || "",
rustCore.input.getInput("prefix-key") || "semver",
rustCore.input.getInput("shared-key") || this.getRunDependentKey(),
os.platform() as string,
await getRustcVersion(),
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"module": "commonjs",
"outDir": "dist",
"strict": true,
"target": "ES2022"
},
"include": [
"src/**/*.ts"
]
],
}

0 comments on commit c730648

Please sign in to comment.