mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Terminate script if submodule registration failed
This commit is contained in:
		| @@ -86,6 +86,7 @@ end | |||||||
|  |  | ||||||
| log "Registering new submodule: #{repo_new}" | log "Registering new submodule: #{repo_new}" | ||||||
| `git submodule add -f #{https} #{repo_new}` | `git submodule add -f #{https} #{repo_new}` | ||||||
|  | exit 1 if $?.exitstatus > 0 | ||||||
| `script/convert-grammars --add #{repo_new}` | `script/convert-grammars --add #{repo_new}` | ||||||
|  |  | ||||||
| log "Confirming license" | log "Confirming license" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user