File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def exclude_untracked_files(path):
4545 cmd_result = [file .replace (path , '' , 1 ) for file in cmd_result ]
4646 DEFAULT_EXCLUDE_EXTENSION_FILES .extend (cmd_result )
4747 except Exception as ex :
48- logger .error (f"Error to get git untracked files : { ex } " )
48+ logger .warning (f"Error to get git untracked files : { ex } " )
4949
5050
5151def exclude_gitignore_files (current_path , path ):
@@ -66,9 +66,8 @@ def exclude_gitignore_files(current_path, path):
6666 DEFAULT_EXCLUDE_EXTENSION_FILES .extend (cmd_result )
6767 else :
6868 return
69-
7069 except Exception as ex :
71- logger .error (f"Error to get git ignored files : { ex } " )
70+ logger .warning (f"Error to get git ignored files : { ex } " )
7271
7372
7473def exclude_git_related_files (path ):
@@ -85,7 +84,7 @@ def exclude_git_related_files(path):
8584 # Restore path
8685 os .chdir (current_path )
8786 except Exception as ex :
88- logger .error (f"Error to get git related files : { ex } " )
87+ logger .warning (f"Error to get git related files : { ex } " )
8988
9089
9190def find_oss_pkg_info_and_exlcude_file (path ):
You can’t perform that action at this time.
0 commit comments