From c2ff4a063c42f16101536ffddd631ddbe1f01e79 Mon Sep 17 00:00:00 2001 From: Christopher Brown Date: Fri, 3 Mar 2023 13:37:52 +0000 Subject: [PATCH] fix to ensure new lines are added everytime the buffers are flushed to files on disk updated the version number in the PSD file to '1.0.1', this is what the next should be created as. --- powerSAS.psd1 | Bin 8160 -> 8164 bytes powerSAS.psm1 | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powerSAS.psd1 b/powerSAS.psd1 index f223b422431e0880d8786e9f1d3fdf7ecc513017..75311487a300777efb6f55716b85cf9ea0977b9c 100644 GIT binary patch delta 16 XcmaE0|HOWS9uu=3gW+afrp>YdG$#c& delta 12 TcmaE2|G<8O9@AzcrcJT{B?JW7 diff --git a/powerSAS.psm1 b/powerSAS.psm1 index f9c6b06..6261779 100644 --- a/powerSAS.psm1 +++ b/powerSAS.psm1 @@ -471,14 +471,14 @@ parameters. $log = "" do { $log = $script:session.LanguageService.FlushLog(1000) - Add-Content $logfilename -Value $log + Add-Content $logfilename -Value $log -NoNewline } while ($log.Length -gt 0) # flush the output $list = "" do { $list = $script:session.LanguageService.FlushList(1000) - Add-Content $outfilename -Value $list + Add-Content $outfilename -Value $list -NoNewline } while ($list.Length -gt 0) # all done - final step is to return a summary of the sas logfile