File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/lib/converter/plugins Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,11 +160,11 @@ export class SourcePlugin extends ConverterComponent {
160
160
let directory = home ;
161
161
const path = Path . dirname ( file . fileName ) ;
162
162
if ( path !== '.' ) {
163
- path . split ( '/' ) . forEach ( ( path ) => {
164
- if ( ! Object . prototype . hasOwnProperty . call ( directory , path ) ) {
165
- directory . directories [ path ] = new SourceDirectory ( path , directory ) ;
163
+ path . split ( '/' ) . forEach ( ( pathPiece ) => {
164
+ if ( ! Object . prototype . hasOwnProperty . call ( directory . directories , pathPiece ) ) {
165
+ directory . directories [ pathPiece ] = new SourceDirectory ( pathPiece , directory ) ;
166
166
}
167
- directory = directory . directories [ path ] ;
167
+ directory = directory . directories [ pathPiece ] ;
168
168
} ) ;
169
169
}
170
170
You can’t perform that action at this time.
0 commit comments