Skip to content

Commit fcb1ca7

Browse files
Merge pull request #76 from Regloom/patch-1
Fix issue 71 with CDS run
2 parents 44ff030 + c643670 commit fcb1ca7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cds-plugin.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
const cds = require("@sap/cds/lib");
2-
const NotificationsBuildPlugin = require("./lib/build");
32

43
if (cds.cli.command === "build") {
54
// register build plugin
6-
cds.build?.register?.('notifications', NotificationsBuildPlugin);
5+
cds.build?.register?.('notifications', require("./lib/build"));
76
}
87

98
else cds.once("served", async () => {

0 commit comments

Comments
 (0)