Skip to content

Commit 7400805

Browse files
committed
fix(ci): create cache dir if not existed
1 parent 5f66eec commit 7400805

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/update_lockfile.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ if [[ -d "$NVIM_CONFIG_DIR" ]]; then
2828
mv "$NVIM_CONFIG_DIR" "$NVIM_CONFIG_DIR.backup"
2929
fi
3030

31+
32+
if [[ -d "$HOME"/.cache ]]; then
33+
mkdir "$HOME"/.cache
34+
fi
35+
3136
git clone https://github.com/CharlesChiuGit/nvimdots.lua.git "$NVIM_CONFIG_DIR"
3237

3338
printf "${tty_bold}Finished installing Nvim config!${tty_reset}\n\n"

0 commit comments

Comments
 (0)