mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 05:51:35 +01:00
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 {
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user