From d49d454eae028cb783e1387df55a0640fb28059d Mon Sep 17 00:00:00 2001 From: Amruta Kawade <65217380+AmrutaKawade@users.noreply.github.com> Date: Wed, 10 Feb 2021 15:40:46 +0530 Subject: [PATCH] windows semicolon fix (#14372) --- Tasks/AzureMysqlDeploymentV1/sql/MysqlClient.ts | 2 +- Tasks/AzureMysqlDeploymentV1/task.json | 4 ++-- Tasks/AzureMysqlDeploymentV1/task.loc.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tasks/AzureMysqlDeploymentV1/sql/MysqlClient.ts b/Tasks/AzureMysqlDeploymentV1/sql/MysqlClient.ts index 5b84587e087d..7068899effa7 100644 --- a/Tasks/AzureMysqlDeploymentV1/sql/MysqlClient.ts +++ b/Tasks/AzureMysqlDeploymentV1/sql/MysqlClient.ts @@ -125,7 +125,7 @@ export class MysqlClient implements ISqlClient { fileSourceArgument = " -e" + '"' + this._azureMysqlTaskParameter.getSqlInline() + '"'; } else { - fileSourceArgument = ` -e "source ${packageUtility.PackageUtility.getPackagePath(this._azureMysqlTaskParameter.getSqlFile())};"`; + fileSourceArgument = ` -e "source ${packageUtility.PackageUtility.getPackagePath(this._azureMysqlTaskParameter.getSqlFile()).replace(/\\/g, '/')};"`; } return fileSourceArgument; diff --git a/Tasks/AzureMysqlDeploymentV1/task.json b/Tasks/AzureMysqlDeploymentV1/task.json index 08400fc23ac6..d33b036cb909 100644 --- a/Tasks/AzureMysqlDeploymentV1/task.json +++ b/Tasks/AzureMysqlDeploymentV1/task.json @@ -16,8 +16,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 182, - "Patch": 1 + "Minor": 183, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "1.100.0", diff --git a/Tasks/AzureMysqlDeploymentV1/task.loc.json b/Tasks/AzureMysqlDeploymentV1/task.loc.json index 9ce2fb34c1fd..b4ccb58a76d3 100644 --- a/Tasks/AzureMysqlDeploymentV1/task.loc.json +++ b/Tasks/AzureMysqlDeploymentV1/task.loc.json @@ -16,8 +16,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 182, - "Patch": 1 + "Minor": 183, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "1.100.0",