Skip to content

Commit c75bfce

Browse files
committed
Update package.json
1 parent 9eac8b9 commit c75bfce

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
99

1010
### Added
1111

12-
- Initial release
12+
- Initial release
13+
14+
## Version 0.2.0
15+
16+
### Added
17+
18+
- Fixed code smells and Dependabot alerts

lib/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cds = require('@sap/cds')
2-
const {BuildPlugin} = cds.build
2+
const { BuildPlugin } = cds.build
33

44
const { copy, exists, path } = cds.utils
55

@@ -13,7 +13,7 @@ module.exports = class NotificationsBuildPlugin extends BuildPlugin {
1313
async build() {
1414
if (exists(cds.env.requires.notifications?.types)) {
1515
const fileName = path.basename(cds.env.requires.notifications.types);
16-
await this.copy(cds.env.requires.notifications.types).to(fileName);
16+
await copy(cds.env.requires.notifications.types).to(path.join(this.task.dest, fileName));
1717
}
1818
}
1919
}

0 commit comments

Comments
 (0)