mirror of https://github.com/grpc/grpc-node.git
				
				
				
			refactor: drop usage of _.isString
This commit is contained in:
		
							parent
							
								
									494b97ac1a
								
							
						
					
					
						commit
						8cd41923f5
					
				|  | @ -51,7 +51,7 @@ function validate(key, value) { | |||
|       throw new Error('keys that end with \'-bin\' must have Buffer values'); | ||||
|     } | ||||
|   } else { | ||||
|     if (!_.isString(value)) { | ||||
|     if (typeof value !== 'string') { | ||||
|       throw new Error( | ||||
|           'keys that don\'t end with \'-bin\' must have String values'); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue