Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 4b4779a

Browse files
fkm3Gerrit Code Review
authored and
Gerrit Code Review
committed
Merge "cargo2android: Fix edge case in --add_workspace feature"
2 parents 5a5aa33 + 71722b1 commit 4b4779a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cargo2android.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ def run_cargo(self):
13601360
print('### WARNING: found [workspace] in Cargo.toml')
13611361
else:
13621362
with open(cargo_toml, 'a') as out_file:
1363-
out_file.write('[workspace]\n')
1363+
out_file.write('\n\n[workspace]\n')
13641364
added_workspace = True
13651365
if self.args.verbose:
13661366
print('### INFO: added [workspace] to Cargo.toml')

0 commit comments

Comments
 (0)