Skip to content

Commit

Permalink
remove async method signature for methods which do
Browse files Browse the repository at this point in the history
not require it
  • Loading branch information
tobiasso85 committed Feb 16, 2021
1 parent d56dd1d commit f7ae8bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/processors/manifestCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async function createManifest(libraryResource, libBundle, descriptorVersion, _in
// return undefined
}

async function createSapApp() {
function createSapApp() {
function hasManifest(componentPath, libraryPathPrefix) {
const manifestPath = componentPath + "/manifest.json";

Expand Down Expand Up @@ -640,7 +640,7 @@ async function createManifest(libraryResource, libBundle, descriptorVersion, _in

return {
"_version": descriptorVersion.toString(),
"sap.app": await createSapApp(),
"sap.app": createSapApp(),
"sap.ui": createSapUi(),
"sap.ui5": createSapUI5(),
"sap.fiori": createSapFiori(),
Expand Down

0 comments on commit f7ae8bc

Please sign in to comment.