1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

vscode: quote path

`mkdir` had an unquoted variable, leading to errors when using paths with spaces (ie: `/Users/me/Library/Application Support/…`)

(cherry picked from commit 9b59dcee0b)
This commit is contained in:
Louis Orleans 2025-08-05 03:15:38 -07:00 committed by Robert Helgesson
parent fc3add429f
commit 7e96494bf4
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -350,7 +350,7 @@ in
file_write="$file_write$([ "$file_write" != "" ] && echo "...")$profile"
done
mkdir -p $(dirname "$file")
mkdir -p "$(dirname "$file")"
echo "{}" > "$file"
fi