Skip to content

Commit

Permalink
Merge pull request #131 from fosslight/temp
Browse files Browse the repository at this point in the history
Print option name with error msg
  • Loading branch information
bjk7119 authored Oct 18, 2024
2 parents 08d29f9 + 924dbe4 commit da28cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fosslight_binary/binary_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def find_binaries(path_to_find_bin, output_dir, formats, dburl="", simple_mode=F
abs_path_to_exclude = [os.path.abspath(os.path.join(base_dir_name, path)) for path in path_to_exclude if path.strip() != ""]

if not os.path.isdir(path_to_find_bin):
error_occured(error_msg=f"Can't find the directory : {path_to_find_bin}",
error_occured(error_msg=f"(-p option) Can't find the directory: {path_to_find_bin}",
result_log=_result_log,
exit=True,
mode=mode)
Expand Down

0 comments on commit da28cfd

Please sign in to comment.