From c01d1de50fc9f443994f92a1c290f6e8c0eabd30 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 18 Nov 2024 23:36:28 +0100 Subject: [PATCH] Create NVM directory. --- lib/tasks/node.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/node.rake b/lib/tasks/node.rake index 0a3007c..9683d5e 100644 --- a/lib/tasks/node.rake +++ b/lib/tasks/node.rake @@ -10,6 +10,7 @@ namespace :node do nvm_dir = '~/.config/nvm' ENV['NVM_DIR'] = File.expand_path(nvm_dir) + FileUtils.mkdir_p ENV.fetch('NVM_DIR') add_line_to_file fish_environment, 'set -x nvm_prefix (brew --prefix nvm 2>&-)'