File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -448,11 +448,11 @@ class Transformer {
448448 console . log ( "getRelative called for" + sampleFullPath ) ;
449449 console . log ( "igConfig.RepositoryName is" + igConfig . RepositoryName ) ;
450450 if ( sampleFullPath . indexOf ( igConfig . RepositoryName ) > - 1 ) {
451- sampleFullPath = sampleFullPath . split ( igConfig . RepositoryName ) [ 1 ] ;
452- /* sampleFullPath = sampleFullPath.substring(
451+ // sampleFullPath = sampleFullPath.split(igConfig.RepositoryName)[1];
452+ sampleFullPath = sampleFullPath . substring (
453453 sampleFullPath . lastIndexOf ( igConfig . RepositoryName ) +
454454 igConfig . RepositoryName . length
455- );*/
455+ ) ;
456456 // sampleFullPath = sampleFullPath.split(igConfig.RepositoryName)[1];
457457 console . log ( "sampleFullPath is now " + sampleFullPath + " and is now split by pathModule.sep " + pathModule . sep ) ;
458458 sampleFullPath = sampleFullPath . split ( pathModule . sep ) . join ( process . env . PATH_SEP || '/' ) ;
You can’t perform that action at this time.
0 commit comments