mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Ensure that the single header is kept with LFs
This commit is contained in:
@@ -46,7 +46,7 @@ def generate(v):
|
||||
outDir = os.path.dirname(outputPath)
|
||||
if not os.path.exists(outDir):
|
||||
os.makedirs(outDir)
|
||||
out = open( outputPath, 'w' )
|
||||
out = open( outputPath, 'w', newline='\n' )
|
||||
|
||||
def write( line ):
|
||||
if globals['includeImpl'] or globals['implIfDefs'] == -1:
|
||||
|
Reference in New Issue
Block a user