Skip to content

Commit 17341a7

Browse files
committed
Fix the Maven path clean issue
Signed-off-by: Jiyeong Seok <[email protected]>
1 parent bb227a9 commit 17341a7

File tree

1 file changed

+2
-1
lines changed
  • src/fosslight_dependency/package_manager

1 file changed

+2
-1
lines changed

src/fosslight_dependency/package_manager/Maven.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def __init__(self, input_dir, output_dir, output_custom_dir):
3535
self.append_input_package_list_file(self.input_file_name)
3636

3737
def __del__(self):
38-
self.clean_run_maven_plugin_output()
38+
if self.is_run_plugin:
39+
self.clean_run_maven_plugin_output()
3940

4041
def run_plugin(self):
4142
ret = True

0 commit comments

Comments
 (0)