Skip to content

Commit

Permalink
Update generateFlexChangesBundle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonwyr authored Aug 27, 2019
1 parent 6766610 commit ea4b15b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/bundlers/generateFlexChangesBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ module.exports = function({workspace, options}) {
}

function updateJson(data) {
// ensure the existence of the libs section in the dependencies
data["sap.ui5"].dependencies.libs = data["sap.ui5"].dependencies.libs || {};
const mLibs = data["sap.ui5"].dependencies.libs;

if ("sap.ui.fl" in mLibs) {
Expand Down

0 comments on commit ea4b15b

Please sign in to comment.