enable-http2 -> http2
This commit is contained in:
		
							parent
							
								
									049322702b
								
							
						
					
					
						commit
						f9686885be
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1937,7 +1937,7 @@ void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v, | |||
|     } else | ||||
|         url = state.forceStringNoCtx(*args[0], pos); | ||||
| 
 | ||||
|     if (state.restricted && !expectedHash) | ||||
|     if (state.restricted) | ||||
|         throw Error(format("'%1%' is not allowed in restricted mode") % who); | ||||
| 
 | ||||
|     Path res = getDownloader()->downloadCached(state.store, url, unpack, name, expectedHash); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue