mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14062 from ethereum/fix-split-sources-script
[scripts/splitSources.py] Add newline to files.
This commit is contained in:
commit
9e0a0af78c
@ -47,7 +47,7 @@ def writeSourceToFile(lines):
|
|||||||
for idx, line in enumerate(lines[1:]):
|
for idx, line in enumerate(lines[1:]):
|
||||||
# write to file
|
# write to file
|
||||||
if line[:12] != "==== Source:":
|
if line[:12] != "==== Source:":
|
||||||
f.write(line)
|
f.write(line + '\n')
|
||||||
|
|
||||||
# recursive call if there is another source
|
# recursive call if there is another source
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user