Skip to content

Commit

Permalink
fix to ensure new lines are added everytime the buffers are flushed t…
Browse files Browse the repository at this point in the history
…o files on disk

updated the version number in the PSD file to '1.0.1', this is what the next should be created as.
  • Loading branch information
Christopher Brown committed Mar 3, 2023
1 parent a20cfae commit c2ff4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified powerSAS.psd1
Binary file not shown.
4 changes: 2 additions & 2 deletions powerSAS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2ff4a0

Please sign in to comment.