Skip to content

Commit efa5eab

Browse files
committed
[INTERNAL] code style
1 parent 0fdb427 commit efa5eab

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// async function with await
2-
sap.ui.define([], async () => {
3-
return await sap.ui.require(["static/module1"], async () => {});
4-
// await and sap.ui.require, makes so sense because it does NOT return a promise but it should still be analyzed
5-
});
1+
// async function with await
2+
sap.ui.define([], async () => {
3+
return await sap.ui.require(["static/module1"], async () => {});
4+
// await and sap.ui.require, makes so sense because it does NOT return a promise but it should still be analyzed
5+
});
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
sap.ui.define([
22
'static/module1'
33
], () => {
4-
54
// spread expression
65
const dynamicModules = ["not-detected/module1"]; // TODO: should this be supported?
76
sap.ui.require(["static/module1", ...dynamicModules]);
8-
97
});

0 commit comments

Comments
 (0)