Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Composer/packages/plugins/localPublish/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ class LocalPublisher implements PublishPlugin<PublishConfig> {
// ensure the specified runtime path exists
if (!fs.existsSync(botDir)) {
reject(`Runtime path ${botDir} does not exist.`);
return;
}

// take the 0th item off the array, leaving just the args
Expand Down Expand Up @@ -431,7 +432,7 @@ export default async (composer: ComposerPluginRegistration): Promise<void> => {
name: 'C#',
startCommand: 'dotnet run --project azurewebapp',
eject: async (project, localDisk: IFileStorage) => {
const sourcePath = path.resolve(__dirname, '../../../../runtime/dotnet');
const sourcePath = path.resolve(__dirname, '../../../../../runtime/dotnet');
const destPath = path.join(project.dir, 'runtime');
if (!(await project.fileStorage.exists(destPath))) {
// used to read bot project template from source (bundled in plugin)
Expand Down