Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
boydc2014 committed Apr 9, 2021
1 parent a7af848 commit 67e30c7
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions extensions/localPublish/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,27 +120,9 @@ class LocalPublisher implements PublishPlugin<PublishConfig> {

await this.initBot(project);
await this.saveContent(botId, version, project.dataDir, user);
if (runtime.setSkillManifest) {
await runtime.setSkillManifest(
this.getBotRuntimeDir(botId),
project.fileStorage,
this.getManifestSrcDir(project.dataDir),
project.fileStorage,
'azurewebapp'
);
}
} else if (project.settings.runtime.path && project.settings.runtime.command) {
const runtimePath = project.getRuntimePath();
await runtime.build(runtimePath, project);
if (runtime.setSkillManifest) {
await runtime.setSkillManifest(
this.getBotRuntimeDir(botId),
project.fileStorage,
this.getManifestSrcDir(project.dataDir),
project.fileStorage,
'azurewebapp'
);
}
} else {
throw new Error('Custom runtime settings are incomplete. Please specify path and command.');
}
Expand Down

0 comments on commit 67e30c7

Please sign in to comment.