Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ipaunov committed Mar 18, 2024
1 parent 9eac8b9 commit c75bfce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Added

- Initial release
- Initial release

## Version 0.2.0

### Added

- Fixed code smells and Dependabot alerts
4 changes: 2 additions & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const cds = require('@sap/cds')
const {BuildPlugin} = cds.build
const { BuildPlugin } = cds.build

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

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

0 comments on commit c75bfce

Please sign in to comment.