mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	Merge pull request #643 from chrisallenlane/android
fix(Paths): Android support
This commit is contained in:
		@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user