mirror of https://github.com/cheat/cheat.git
fix(Paths): Android support
Add `"android"` to the explicit whitelist of supported operating systems. This may resolve incompatibilities with certain Android environments.
This commit is contained in:
parent
a500a621a1
commit
b67ff8b6a8
|
@ -28,7 +28,7 @@ func Paths(
|
||||||
}
|
}
|
||||||
|
|
||||||
switch sys {
|
switch sys {
|
||||||
case "darwin", "linux", "freebsd":
|
case "android", "darwin", "linux", "freebsd":
|
||||||
paths := []string{}
|
paths := []string{}
|
||||||
|
|
||||||
// don't include the `XDG_CONFIG_HOME` path if that envvar is not set
|
// 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
|
// specify the platforms to test
|
||||||
oses := []string{
|
oses := []string{
|
||||||
|
"android",
|
||||||
"darwin",
|
"darwin",
|
||||||
"freebsd",
|
"freebsd",
|
||||||
"linux",
|
"linux",
|
||||||
|
|
Loading…
Reference in New Issue