File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const getFilename = (p) => path.posix.basename(p);
16
16
* @type {string } path of folder
17
17
* @param {string } p filename concat with path in posix style
18
18
*/
19
- const getFolderPath = ( p ) => path . join ( path . posix . dirname ( p ) , path . posix . sep ) ;
19
+ const getFolderPath = ( p ) =>
20
+ path . posix . join ( path . posix . dirname ( p ) , path . posix . sep ) ;
20
21
21
22
/**
22
23
* @type {string } base name
@@ -49,8 +50,8 @@ const getSubPaths = (p) => {
49
50
if ( folder ) {
50
51
acc . push (
51
52
index === 0
52
- ? path . join ( folder , path . posix . sep )
53
- : path . join ( acc [ acc . length - 1 ] , folder , path . posix . sep )
53
+ ? path . posix . join ( folder , path . posix . sep )
54
+ : path . posix . join ( acc [ acc . length - 1 ] , folder , path . posix . sep )
54
55
) ;
55
56
}
56
57
return acc ;
You can’t perform that action at this time.
0 commit comments