File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -445,10 +445,12 @@ class Transformer {
445445
446446 public static getRelative ( sampleFullPath : string ) : string {
447447 // let path = filePath;
448-
448+ console . log ( "getRelative called for" + sampleFullPath ) ;
449+ console . log ( "igConfig.RepositoryName is" + igConfig . RepositoryName ) ;
449450 if ( sampleFullPath . indexOf ( igConfig . RepositoryName ) > - 1 ) {
450451 sampleFullPath = sampleFullPath . split ( igConfig . RepositoryName ) [ 1 ] ;
451- sampleFullPath = sampleFullPath . split ( pathModule . sep ) . join ( "/" ) ;
452+ console . log ( "sampleFullPath is now " + sampleFullPath + " and is now split by pathModule.sep " + pathModule . sep ) ;
453+ sampleFullPath = sampleFullPath . split ( pathModule . sep ) . join ( process . env . PATH_SEP || '/' ) ;
452454 return ".." + sampleFullPath ;
453455 // return sampleFullPath;
454456 }
You can’t perform that action at this time.
0 commit comments