mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
$HOME is not expanded
This commit is contained in:
parent
4528fa0d7d
commit
4ab112c592
1 changed files with 5 additions and 2 deletions
|
@ -31,9 +31,12 @@ type OS = string | string[]
|
||||||
|
|
||||||
const platform = Deno.env.get("PLATFORM") ?? panic("$PLATFORM not set")
|
const platform = Deno.env.get("PLATFORM") ?? panic("$PLATFORM not set")
|
||||||
|
|
||||||
|
|
||||||
|
const home = Deno.env.get("HOME")
|
||||||
|
|
||||||
const cacheSets = {
|
const cacheSets = {
|
||||||
"darwin": "$HOME/Library/Caches/deno/deps/https/",
|
"darwin": `${home}/Library/Caches/deno/deps/https/`,
|
||||||
"linux": "$HOME/.cache/deno/deps/https/"
|
"linux": `${home}/.cache/deno/deps/https/`
|
||||||
}
|
}
|
||||||
|
|
||||||
const output: Output = (() => {
|
const output: Output = (() => {
|
||||||
|
|
Loading…
Reference in a new issue