Skip to content

Commit a9e7c86

Browse files
committed
some additional logs
1 parent 950efc9 commit a9e7c86

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

browser/tasks/Transformer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)