Cask::DSL: Remove duplicate token definition
I inadvertently duplicated the `@token` instance variable definition in `Cask::DSL#initiailize`, so this removes the duplicate. This didn't have any noticeable effect because it was redefined afterward, so this is just a bit of tidying up.
This commit is contained in:
		
							parent
							
								
									c0f23acdcd
								
							
						
					
					
						commit
						4917fb2c93
					
				@ -149,7 +149,6 @@ module Cask
 | 
			
		||||
      @name = T.let([], T::Array[String])
 | 
			
		||||
      @on_system_blocks_exist = T.let(false, T::Boolean)
 | 
			
		||||
      @os = T.let(nil, T.nilable(String))
 | 
			
		||||
      @token = cask.token
 | 
			
		||||
      @on_system_block_min_os = T.let(nil, T.nilable(MacOSVersion))
 | 
			
		||||
      @sha256 = T.let(nil, T.nilable(T.any(Checksum, Symbol)))
 | 
			
		||||
      @staged_path = T.let(nil, T.nilable(Pathname))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user