Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit 4e39564

Browse files
committed
If process was killed and there's some output, then append newline
1 parent e76e426 commit 4e39564

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SQLToolsAPI/Command.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def run(self):
9898
resultString += errors.decode(self.encoding,
9999
'replace').replace('\r', '')
100100

101+
if self.process == None and resultString != '':
102+
resultString += '\n'
103+
101104
if self.options['show_query']:
102105
formattedQueryInfo = self._formatShowQuery(self.query, queryTimerStart, queryTimerEnd)
103106
queryPlacement = self.options['show_query']

0 commit comments

Comments
 (0)