From 3a6b71561b300147a09bb926692cb6292774bc2b Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Sun, 2 Jun 2024 07:27:09 +0900 Subject: [PATCH] feat: added config filenames to hashFiles (#86) --- src/index.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0e20800..cad545c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -55,9 +55,17 @@ async function restoreMiseCache(): Promise { 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') )