Skip to content

Commit 054697f

Browse files
authored
Fix the issue of adding allDeps task for android (#201)
Signed-off-by: jiyeong.seok <[email protected]>
1 parent af306b2 commit 054697f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_dependency/_package_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def add_allDeps_in_gradle(self):
132132
}}'''
133133
try:
134134
with open(const.SUPPORT_PACKAE.get(self.package_manager_name), 'a', encoding='utf8') as f:
135-
f.write(allDeps)
135+
f.write(f'\n{allDeps}\n')
136136
ret = True
137137
except Exception as e:
138138
logging.warning(f"Cannot add the allDeps task in build.gradle: {e}")

0 commit comments

Comments
 (0)