@@ -39,8 +39,6 @@ def get_input_mode():
3939 _PYTHON_VERSION = sys .version_info [0 ]
4040
4141 _input_path_msg = "Please enter the path to analyze:"
42- _additional_msg = "\n (Enter if it is the same as " \
43- + "the source code analysis path)"
4442
4543 url_to_analyze = ""
4644 src_path = ""
@@ -53,18 +51,10 @@ def get_input_mode():
5351 2. Local source path\n " ):
5452 success , url_to_analyze = get_input ("Enter the link to analyze:" , "" )
5553 else :
56- # 1. FOSSLight Source
57- if ask_to_run ("1. Do you want to analyze the source code? (y/n)" ):
58- success , src_path = get_input (_input_path_msg , "" )
54+ success , src_path = get_input (_input_path_msg , "" )
55+ dep_path = src_path
5956
60- if src_path == "" :
61- _additional_msg = ""
62-
63- # 2. FOSSLight Dependency
64- if ask_to_run ("3. Do you want to analyze the dependency? (y/n)" ):
65- success , dep_path = get_input (
66- _input_path_msg + _additional_msg , src_path )
67- success , dep_arguments = get_input (
68- "Please enter arguments for dependency analysis:" , "" )
57+ success , dep_arguments = get_input (
58+ "Please enter arguments for dependency analysis:" , "" )
6959
7060 return src_path , dep_path , dep_arguments , url_to_analyze
0 commit comments