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'
4
4
import { createRequire } from 'module'
5
5
import path from 'path'
6
6
import process from 'process'
7
- import { pipeline as _pipeline } from 'stream'
7
+ import { pipeline } from 'stream/promises '
8
8
import { promisify } from 'util'
9
9
import commitStream from 'commit-stream'
10
10
import split2 from 'split2'
@@ -15,7 +15,6 @@ import { processCommits } from 'changelog-maker/process-commits'
15
15
import { collectCommitLabels } from 'changelog-maker/collect-commit-labels'
16
16
import gitexec from 'gitexec'
17
17
18
- const pipeline = promisify ( _pipeline )
19
18
const pkgFile = path . join ( process . cwd ( ) , 'package.json' )
20
19
const require = createRequire ( import . meta. url )
21
20
const pkgData = fs . existsSync ( pkgFile ) ? require ( pkgFile ) : { }
You can’t perform that action at this time.
0 commit comments