feat: added config filenames to hashFiles (#86)

This commit is contained in:
Risu 2024-06-02 07:27:09 +09:00 committed by GitHub
parent b02b0576a3
commit 3a6b71561b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')
)