Skip to content

Commit

Permalink
fix: Support vertical bar character ("|") in MicrosoftPassword (micro…
Browse files Browse the repository at this point in the history
…soft#7938)

* fix command with special char

* change quo mark

Co-authored-by: Soroush <[email protected]>
Co-authored-by: Dong Lei <[email protected]>
  • Loading branch information
3 people authored Jun 3, 2021
1 parent 8843a1b commit 868a0ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/localPublish/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class LocalPublisher implements PublishPlugin<PublishConfig> {
const configList: string[] = [];
if (config.MicrosoftAppPassword) {
configList.push('--MicrosoftAppPassword');
configList.push(config.MicrosoftAppPassword);
configList.push(`"${config.MicrosoftAppPassword}"`);
}
if (config.luis && (config.luis.endpointKey || config.luis.authoringKey)) {
configList.push('--luis:endpointKey');
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_runtime.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ if ($luisAuthroingKey)

if ($appPassword)
{
dotnet user-secrets set "MicrosoftAppPassword" $appPassword --project $destinationFolder
dotnet user-secrets set "MicrosoftAppPassword" "$appPassword" --project $destinationFolder
}

0 comments on commit 868a0ad

Please sign in to comment.