mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	node-gypの警告を直す (#3906)
* Update crypto_key.cc * Update crypto_key.cc * Update crypto_key.cc
This commit is contained in:
		
							parent
							
								
									5bd0695b0e
								
							
						
					
					
						commit
						fa051df381
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -8,7 +8,7 @@
 | 
			
		|||
 | 
			
		||||
NAN_METHOD(extractPublic)
 | 
			
		||||
{
 | 
			
		||||
	const auto sourceString = info[0]->ToString();
 | 
			
		||||
	const auto sourceString = info[0]->ToString(Nan::GetCurrentContext()).ToLocalChecked();
 | 
			
		||||
	if (!sourceString->IsOneByte()) {
 | 
			
		||||
		Nan::ThrowError("Malformed character found");
 | 
			
		||||
		return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue