/tmp is not available on non UNIX OSs
Hamcha opened this issue · comments
The default cache and repository config paths are set in /tmp/*
(as in here), a path not available in non-UNIX OSs like Windows.
These paths should be either calculated using os.TempDir
(which isn't the cleanest solution, but probably takes the least to implement), or use os.MkdirTemp
and just cleanup the directory afterwards.