File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/fosslight_dependency/package_manager Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ def start_license_checker(self):
64
64
else :
65
65
self .append_input_package_list_file (self .input_file_name )
66
66
67
- if self .flag_tmp_node_modules :
68
- shutil .rmtree (node_modules , ignore_errors = True )
69
67
os .remove (tmp_custom_json )
70
68
71
69
return ret
@@ -123,11 +121,7 @@ def parse_transitive_relationship(self):
123
121
def parse_direct_dependencies (self ):
124
122
try :
125
123
if os .path .isfile (const .SUPPORT_PACKAE .get (self .package_manager_name )):
126
- if not self .flag_tmp_node_modules :
127
- shutil .move (node_modules , f'tmp_fl_{ node_modules } ' )
128
124
self .parse_transitive_relationship ()
129
- if not self .flag_tmp_node_modules :
130
- shutil .move (f'tmp_fl_{ node_modules } ' , node_modules )
131
125
else :
132
126
logger .info ('Direct/transitive support is not possible because the package.json file does not exist.' )
133
127
self .direct_dep = False
You can’t perform that action at this time.
0 commit comments