File tree 4 files changed +3
-5
lines changed
4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 37
37
"devDependencies" : {
38
38
"@commitlint/test" : " ^18.0.0" ,
39
39
"@commitlint/utils" : " ^18.4.3" ,
40
- "@types/fs-extra" : " ^11.0.3" ,
41
40
"@types/git-raw-commits" : " ^2.0.3" ,
42
41
"@types/minimist" : " ^1.2.4" ,
43
42
"execa" : " ^5.0.0"
44
43
},
45
44
"dependencies" : {
46
45
"@commitlint/top-level" : " ^18.4.3" ,
47
46
"@commitlint/types" : " ^18.4.3" ,
48
- "fs-extra" : " ^11.0.0" ,
49
47
"git-raw-commits" : " ^2.0.11" ,
50
48
"minimist" : " ^1.2.6"
51
49
},
Original file line number Diff line number Diff line change 1
1
import toplevel from '@commitlint/top-level' ;
2
- import fs from 'fs-extra ' ;
2
+ import fs from 'fs/promises ' ;
3
3
import { getEditFilePath } from './get-edit-file-path' ;
4
4
5
5
// Get recently edited commit message
Original file line number Diff line number Diff line change 1
1
import path from 'path' ;
2
2
import { Stats } from 'fs' ;
3
- import fs from 'fs-extra ' ;
3
+ import fs from 'fs/promises ' ;
4
4
5
5
// Get path to recently edited commit message file
6
6
export async function getEditFilePath (
Original file line number Diff line number Diff line change 1
1
import path from 'path' ;
2
2
import { git } from '@commitlint/test' ;
3
3
import execa from 'execa' ;
4
- import fs from 'fs-extra ' ;
4
+ import fs from 'fs/promises ' ;
5
5
6
6
import read from './read' ;
7
7
You can’t perform that action at this time.
0 commit comments