mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix: check if no command passed to exec (#310)
* fix: check if no command passed to exec * docs: add exec fixes * chore: remove extra space
This commit is contained in:
		
							parent
							
								
									0e4b95d9b9
								
							
						
					
					
						commit
						b24fc4a422
					
				@ -30,6 +30,7 @@ hilbish.run('wc -l', {
 | 
			
		||||
 | 
			
		||||
### Fixed
 | 
			
		||||
- Fix ansi attributes causing issues with text when cut off in greenhouse
 | 
			
		||||
- `exec` command should return if no arg presented
 | 
			
		||||
 | 
			
		||||
## [2.2.3] - 2024-04-27
 | 
			
		||||
### Fixed
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,8 @@
 | 
			
		||||
local commander = require 'commander'
 | 
			
		||||
 | 
			
		||||
commander.register('exec', function(args)
 | 
			
		||||
	if #args == 0 then
 | 
			
		||||
		return
 | 
			
		||||
	end
 | 
			
		||||
	hilbish.exec(args[1])
 | 
			
		||||
end)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user