feat: added config filenames to hashFiles (#86)
This commit is contained in:
parent
b02b0576a3
commit
3a6b71561b
1 changed files with 10 additions and 2 deletions
12
src/index.ts
12
src/index.ts
|
@ -55,9 +55,17 @@ async function restoreMiseCache(): Promise<void> {
|
|||
const fileHash = await glob.hashFiles(
|
||||
[
|
||||
`**/.config/mise/config.toml`,
|
||||
`**/.mise.*.toml`,
|
||||
`**/.mise.toml`,
|
||||
`**/.config/mise/config.*.toml`,
|
||||
`**/.config/mise.toml`,
|
||||
`**/.config/mise.*.toml`,
|
||||
`**/.mise/config.toml`,
|
||||
`**/.mise/config.*.toml`,
|
||||
`**/mise/config.toml`,
|
||||
`**/mise/config.*.toml`,
|
||||
`**/.mise.toml`,
|
||||
`**/.mise.*.toml`,
|
||||
`**/mise.toml`,
|
||||
`**/mise.*.toml`,
|
||||
`**/.tool-versions`
|
||||
].join('\n')
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue