Fix npm update
This commit is contained in:
		
							parent
							
								
									5ecc22db41
								
							
						
					
					
						commit
						1771494895
					
				| @ -266,7 +266,7 @@ update-npm() { | ||||
| 
 | ||||
|     for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | ||||
|     do | ||||
|         npm -g install "$package" | ||||
|         npm install -g `echo $package | cut -d '@' -f 1` | ||||
|     done | ||||
| 
 | ||||
|     seconds=$((`date +%s` - $start_npm_update )) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user