1
0
mirror of https://github.com/cheat/cheat.git synced 2025-07-02 20:01:59 +02:00

Merge pull request from chrisallenlane/android

fix(Paths): Android support
This commit is contained in:
Chris Allen Lane
2021-10-09 11:30:18 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
internal/config

@ -28,7 +28,7 @@ func Paths(
}
switch sys {
case "darwin", "linux", "freebsd":
case "android", "darwin", "linux", "freebsd":
paths := []string{}
// don't include the `XDG_CONFIG_HOME` path if that envvar is not set

@ -21,6 +21,7 @@ func TestValidatePathsNix(t *testing.T) {
// specify the platforms to test
oses := []string{
"android",
"darwin",
"freebsd",
"linux",