Skip to content

Commit

Permalink
fix issue that causes deploy to fail if there are spaces in the path (#…
Browse files Browse the repository at this point in the history
…2958)

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
  • Loading branch information
benbrown and cwhitten authored May 8, 2020
1 parent fb2b7f0 commit 4c69132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Composer/packages/lib/bot-deploy/src/botProjectDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export class BotProjectDeploy {
// perform the dotnet publish command
// this builds the app and prepares it to be deployed
// results in a built copy in publishFolder/
await exec(`dotnet publish ${this.dotnetProjectPath} -c release -o ${publishFolder} -v q`);
await exec(`dotnet publish "${this.dotnetProjectPath}" -c release -o "${publishFolder}" -v q`);
const remoteBotPath = path.join(publishFolder, 'ComposerDialogs');
const localBotPath = path.join(projFolder, 'ComposerDialogs');
// Then, copy the declarative assets into the build folder.
Expand Down

0 comments on commit 4c69132

Please sign in to comment.