Skip to content

Commit ac00019

Browse files
committed
Fix the tsc thing
1 parent 773cd4c commit ac00019

File tree

1 file changed

+1
-2
lines changed
  • lib/buildtools/src/prebuild

1 file changed

+1
-2
lines changed

lib/buildtools/src/prebuild/tsc.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ export async function runTsc(input: InputAsset, noEmit: boolean): Promise<TscRes
103103
// If noEmit isn't specified, then run tsc again without including test
104104
// files and actually output the files
105105
const filesWithoutTests = fileNames.filter(p => {
106-
const segments = p.split(pathlib.sep);
107-
console.log(segments);
106+
const segments = p.split(pathlib.posix.sep);
108107
return !segments.includes('__tests__');
109108
});
110109
const compileProgram = ts.createProgram({

0 commit comments

Comments
 (0)