diff options
Diffstat (limited to 'deno_dir.go')
-rw-r--r-- | deno_dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deno_dir.go b/deno_dir.go index 2df1f74b4..1fac10831 100644 --- a/deno_dir.go +++ b/deno_dir.go @@ -87,7 +87,7 @@ func LoadOutputCodeCache(filename string, sourceCodeBuf []byte) ( func UserHomeDir() string { if runtime.GOOS == "windows" { - home := os.Getenv("HOMEDRIVE") + os.Getenv("HOMEPATH") + home := path.Join(os.Getenv("HOMEDRIVE"), os.Getenv("HOMEPATH")) if home == "" { home = os.Getenv("USERPROFILE") } |