Skip to content

Commit d0cc4b0

Browse files
committed
rename tmp file, cannot start with dot
1 parent 0874593 commit d0cc4b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/reducers/task-tests/task-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function taskTestsReducer(taskTests, action) {
66
if (taskTests === void 0) { taskTests = ''; }
77
switch (action.type) {
88
case Type.SET_PAGE:
9-
var target = path.join(window.coderoad.tutorialDir || window.coderoad.dir, ".tmp" + window.coderoad.suffix);
9+
var target = path.join(window.coderoad.tutorialDir || window.coderoad.dir, "_tmp" + window.coderoad.suffix);
1010
return concat_tests_1.concatTests(target, action.payload.taskTests);
1111
default:
1212
return taskTests;

src/reducers/task-tests/task-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {concatTests} from './concat-tests';
66
export default function taskTestsReducer(taskTests = '', action: CR.Action): string {
77
switch (action.type) {
88
case Type.SET_PAGE:
9-
let target = path.join(window.coderoad.tutorialDir || window.coderoad.dir, `.tmp${window.coderoad.suffix}`);
9+
let target = path.join(window.coderoad.tutorialDir || window.coderoad.dir, `_tmp${window.coderoad.suffix}`);
1010
return concatTests(target, action.payload.taskTests);
1111
default:
1212
return taskTests;

0 commit comments

Comments
 (0)