Skip to content

Commit 0ba8a5b

Browse files
committed
make tmp file hidden
1 parent 57a6a36 commit 0ba8a5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/reducers/test-run/run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function runTaskTests(setup) {
1010
var dir = store_1.default.getState().dir;
1111
var tutorialConfig = store_1.default.getState().tutorial.config;
1212
var output = parse_loaders_1.default(tests, tutorialConfig.testSuffix);
13-
var target = path_1.join(tutorialConfig.dir || dir, "_tmp" + tutorialConfig.testSuffix);
13+
var target = path_1.join(tutorialConfig.dir || dir, ".tmp" + tutorialConfig.testSuffix);
1414
fs_1.writeFileSync(target, output, 'utf8');
1515
var config = {
1616
dir: dir,

src/reducers/test-run/run.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function runTaskTests(setup?: boolean): boolean {
1515
// write temporary test file in tutorial directory
1616
let target = join(
1717
tutorialConfig.dir || dir,
18-
`_tmp${tutorialConfig.testSuffix}`
18+
`.tmp${tutorialConfig.testSuffix}`
1919
);
2020
writeFileSync(target, output, 'utf8');
2121

0 commit comments

Comments
 (0)