[PATCH compass-ci] git_mirror.rb: fix that delete dir not exist
 
            
            
            
            
                7 Jan
                
                    2021
                
            
            
                7 Jan
                
                '21
                
            
            
            
        
    
                8:43 p.m.
            
        As don't mkdir directly before, should not delete dir directly too. Signed-off-by: Li Yuanchao <lyc163mail@163.com> --- lib/git_mirror.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/git_mirror.rb b/lib/git_mirror.rb index c7dd019..f5c653b 100644 --- a/lib/git_mirror.rb +++ b/lib/git_mirror.rb @@ -46,7 +46,6 @@ class GitMirror ret = !stderr.include?('fatal') break if ret end - FileUtils.rm_r(mirror_dir) unless ret return ret end -- 2.23.0
        1758
        
      
          Age (days ago)
        
      
        1758
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Li Yuanchao Li Yuanchao