From 09a74aadd552cd492469e19d44b92110a23dce2d Mon Sep 17 00:00:00 2001 From: Udeesha Gautam <46980425+udeeshagautam@users.noreply.github.com> Date: Thu, 14 Apr 2022 10:46:16 -0700 Subject: [PATCH] fix for sensitive text in output message (#19071) (#19088) --- .../sql-database-projects/src/tools/shellExecutionHelper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/sql-database-projects/src/tools/shellExecutionHelper.ts b/extensions/sql-database-projects/src/tools/shellExecutionHelper.ts index 1c3cc32a18..014d17ffce 100644 --- a/extensions/sql-database-projects/src/tools/shellExecutionHelper.ts +++ b/extensions/sql-database-projects/src/tools/shellExecutionHelper.ts @@ -50,9 +50,9 @@ export class ShellExecutionHelper { // Add listeners to print stdout and stderr and exit code void child.on('exit', (code: number | null, signal: string | null) => { if (code !== null) { - this._outputChannel.appendLine(localize('sqlDatabaseProjects.RunStreamedCommand.ExitedWithCode', " >>> {0} … exited with code: {1}", command, code)); + this._outputChannel.appendLine(localize('sqlDatabaseProjects.RunStreamedCommand.ExitedWithCode', " >>> {0} … exited with code: {1}", cmdOutputMessage, code)); } else { - this._outputChannel.appendLine(localize('sqlDatabaseProjects.RunStreamedCommand.ExitedWithSignal', " >>> {0} … exited with signal: {1}", command, signal)); + this._outputChannel.appendLine(localize('sqlDatabaseProjects.RunStreamedCommand.ExitedWithSignal', " >>> {0} … exited with signal: {1}", cmdOutputMessage, signal)); } });