mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix(cd): return err code of fs.cd instead of 1 specifically
This commit is contained in:
		
							parent
							
								
									a140db1610
								
							
						
					
					
						commit
						accd4beeba
					
				@ -20,7 +20,7 @@ commander.register('cd', function (args)
 | 
			
		||||
			if err == 1 then
 | 
			
		||||
				print('directory does not exist')
 | 
			
		||||
			end
 | 
			
		||||
			return 1
 | 
			
		||||
			return err
 | 
			
		||||
		end
 | 
			
		||||
		return
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user