Skip to content

Commit 78cdd34

Browse files
committed
try like this
1 parent a9e7c86 commit 78cdd34

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

browser/tasks/Transformer.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ class Transformer {
449449
console.log("igConfig.RepositoryName is" + igConfig.RepositoryName);
450450
if (sampleFullPath.indexOf(igConfig.RepositoryName) > -1) {
451451
sampleFullPath = sampleFullPath.split(igConfig.RepositoryName)[1];
452+
/*sampleFullPath = sampleFullPath.substring(
453+
sampleFullPath.lastIndexOf(igConfig.RepositoryName) +
454+
igConfig.RepositoryName.length
455+
);*/
456+
// sampleFullPath = sampleFullPath.split(igConfig.RepositoryName)[1];
452457
console.log("sampleFullPath is now " + sampleFullPath + " and is now split by pathModule.sep " + pathModule.sep);
453458
sampleFullPath = sampleFullPath.split(pathModule.sep).join(process.env.PATH_SEP || '/');
454459
return ".." + sampleFullPath;

0 commit comments

Comments
 (0)