File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import fs from 'fs'
44import { createRequire } from 'module'
55import path from 'path'
66import process from 'process'
7- import { pipeline as _pipeline } from 'stream'
7+ import { pipeline } from 'stream/promises '
88import { promisify } from 'util'
99import commitStream from 'commit-stream'
1010import split2 from 'split2'
@@ -15,7 +15,6 @@ import { processCommits } from 'changelog-maker/process-commits'
1515import { collectCommitLabels } from 'changelog-maker/collect-commit-labels'
1616import gitexec from 'gitexec'
1717
18- const pipeline = promisify ( _pipeline )
1918const pkgFile = path . join ( process . cwd ( ) , 'package.json' )
2019const require = createRequire ( import . meta. url )
2120const pkgData = fs . existsSync ( pkgFile ) ? require ( pkgFile ) : { }
You can’t perform that action at this time.
0 commit comments