Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit fcb49e2

Browse files
committed
fix(templates): Fix test generation condition
1 parent 8f06faf commit fcb49e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tasks/templates.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ module.exports = () => {
3636

3737
copyFiles(templatesDir, files);
3838

39-
pathExists('test').then((exists) => {
39+
pathExists('./test').then((exists) => {
4040
if (!exists) {
4141
copyFiles(templatesDir, testFiles, { overwrite: false });
4242
}
4343
});
4444

45-
copyFiles(templatesDir, testFiles, { overwrite: false });
4645
copyFiles(templatesDir, filesOnce, { overwrite: false });
4746
};

0 commit comments

Comments
 (0)