Fix other to_json override while we're here
This commit is contained in:
		
							parent
							
								
									33d9dc63b0
								
							
						
					
					
						commit
						368dd4d949
					
				@ -194,12 +194,12 @@ module Cask
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    sig { params(options: T.untyped).returns(String) }
 | 
			
		||||
    def to_json(**options)
 | 
			
		||||
    def to_json(*options)
 | 
			
		||||
      {
 | 
			
		||||
        default:  default,
 | 
			
		||||
        env:      env,
 | 
			
		||||
        explicit: explicit,
 | 
			
		||||
      }.to_json(**options)
 | 
			
		||||
      }.to_json(*options)
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user