File tree 2 files changed +4
-11
lines changed
Library/Homebrew/extend/os/linux/cask
2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,15 @@ module OS
7
7
module Linux
8
8
module Cask
9
9
module Config
10
- extend T ::Helpers
11
-
12
- requires_ancestor { ::Cask ::Config }
13
-
14
10
module ClassMethods
15
11
DEFAULT_DIRS = T . let ( {
16
12
vst_plugindir : "~/.vst" ,
17
13
vst3_plugindir : "~/.vst3" ,
18
14
fontdir : "#{ ENV . fetch ( "XDG_DATA_HOME" , "~/.local/share" ) } /fonts" ,
19
- } . freeze , T ::Hash [ Symbol , T . nilable ( String ) ] )
15
+ } . freeze , T ::Hash [ Symbol , String ] )
20
16
21
- sig { returns ( T ::Hash [ Symbol , T . untyped ] ) }
22
- def self . defaults
17
+ sig { returns ( T ::Hash [ Symbol , String ] ) }
18
+ def defaults
23
19
{
24
20
languages : LazyObject . new { Linux . languages } ,
25
21
} . merge ( DEFAULT_DIRS ) . freeze
@@ -31,4 +27,3 @@ def self.defaults
31
27
end
32
28
33
29
Cask ::Config . singleton_class . prepend ( OS ::Linux ::Cask ::Config ::ClassMethods )
34
- Cask ::Config . prepend ( OS ::Linux ::Cask ::Config )
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ module Quarantine
10
10
requires_ancestor { ::Cask ::Quarantine }
11
11
12
12
sig { returns ( Symbol ) }
13
- def self . check_quarantine_support
14
- :linux
15
- end
13
+ def self . check_quarantine_support = :linux
16
14
17
15
sig { returns ( T ::Boolean ) }
18
16
def self . available? = false
You can’t perform that action at this time.
0 commit comments