Skip to content

Commit 26add29

Browse files
committed
Fixed recently unearthed error
1 parent 641309c commit 26add29

File tree

1 file changed

+2
-2
lines changed
  • packages/cli/src/languagePlugins/csharp/projectMapper

1 file changed

+2
-2
lines changed

packages/cli/src/languagePlugins/csharp/projectMapper/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ export class CSharpProjectMapper {
104104
for (let j = 1; j < splitPaths.length; j++) {
105105
if (splitPaths[j][i] !== commonPath[i]) {
106106
commonPath.splice(i);
107-
let rootFolder = join(...commonPath);
107+
let rootFolder = join("", ...commonPath);
108108
if (filepaths[0].startsWith(SEPARATOR)) {
109109
rootFolder = SEPARATOR + rootFolder;
110110
}
111111
return rootFolder;
112112
}
113113
}
114114
}
115-
let rootFolder = join(...commonPath);
115+
let rootFolder = join("", ...commonPath);
116116
if (filepaths[0].startsWith(SEPARATOR)) {
117117
rootFolder = SEPARATOR + rootFolder;
118118
}

0 commit comments

Comments
 (0)