Skip to content

Commit

Permalink
sonar qube fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kjose90 committed Jan 17, 2025
1 parent 87020f2 commit 811810b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/fiori-elements-writer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async function generate<T extends {}>(basePath: string, data: FioriElementsApp<T
sapux: feApp.appOptions?.sapux,
enableNPMWorkspaces: feApp.appOptions?.enableNPMWorkspaces,
enableTypescript: feApp.appOptions?.typescript,
enableCdsUi5Plugin: feApp.service.capService.cdsUi5PluginInfo ? true : false
enableCdsUi5Plugin: !!feApp.service.capService.cdsUi5PluginInfo
};
await applyCAPUpdates(fs, feApp.service.capService, settings);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/fiori-freestyle-writer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ async function generate<T>(basePath: string, data: FreestyleApp<T>, fs?: Editor)
sapux: ffApp.appOptions?.sapux,
enableNPMWorkspaces: ffApp.appOptions?.enableNPMWorkspaces,
enableTypescript: ffApp.appOptions?.typescript,
enableCdsUi5Plugin: ffApp.service.capService.cdsUi5PluginInfo ? true : false
enableCdsUi5Plugin: !!ffApp.service.capService.cdsUi5PluginInfo
};
await applyCAPUpdates(fs, ffApp.service.capService, settings);
}
Expand Down

0 comments on commit 811810b

Please sign in to comment.