Skip to content

Commit

Permalink
ci: change the import to require as the module is cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Jan 29, 2024
1 parent 9caf31a commit 9c67755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import customTransform from './release.utils.cjs';
const transform = require('./release.utils.cjs');

module.exports = {
branches: [
Expand Down Expand Up @@ -53,7 +53,7 @@ module.exports = {
mergePattern: /^Merge pull request #(\d+) from (.*)$/,
mergeCorrespondence: ['id', 'source'],
},
writerOpts: { transform: customTransform },
writerOpts: { transform: transform },
},
],
'@semantic-release/changelog',
Expand Down

0 comments on commit 9c67755

Please sign in to comment.