Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
anchenyi committed Sep 30, 2024
1 parent 1d93226 commit c205b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/spec-parser/src/manifestUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class ManifestUpdater {
const apiPluginRelativePath = ManifestUpdater.getRelativePath(manifestPath, apiPluginFilePath);

const useCopilotExtensionsInSchema = await ManifestUtil.useCopilotExtensionsInSchema(manifest);
if (useCopilotExtensionsInSchema) {
if (manifest.copilotExtensions || useCopilotExtensionsInSchema) {
manifest.copilotExtensions = manifest.copilotExtensions || {};
if (!options.isGptPlugin) {
manifest.copilotExtensions.plugins = [
Expand Down

0 comments on commit c205b0a

Please sign in to comment.