File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
9
9
10
10
### Added
11
11
12
- - Initial release
12
+ - Initial release
13
+
14
+ ## Version 0.2.0
15
+
16
+ ### Added
17
+
18
+ - Fixed code smells and Dependabot alerts
Original file line number Diff line number Diff line change 1
1
const cds = require ( '@sap/cds' )
2
- const { BuildPlugin} = cds . build
2
+ const { BuildPlugin } = cds . build
3
3
4
4
const { copy, exists, path } = cds . utils
5
5
@@ -13,7 +13,7 @@ module.exports = class NotificationsBuildPlugin extends BuildPlugin {
13
13
async build ( ) {
14
14
if ( exists ( cds . env . requires . notifications ?. types ) ) {
15
15
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 ) ) ;
17
17
}
18
18
}
19
19
}
You can’t perform that action at this time.
0 commit comments