Skip to content

Commit b973fdd

Browse files
committed
Fix bug with renaming transpiled files
1 parent 16417e2 commit b973fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function createTest(test, testPath, options) {
198198
var extension = path.extname(file);
199199
fs.renameSync(
200200
path.join(expectedOutput, file),
201-
path.join(expectedOutput, path.basename(file, '.transpiled'+extension)+extension)
201+
path.join(expectedOutput, path.dirname(file), path.basename(file, '.transpiled'+extension)+extension)
202202
);
203203
}
204204
else { // otherwise delete

0 commit comments

Comments
 (0)