Skip to content

Commit 62851fe

Browse files
committed
._ extensions for files to rename
1 parent 870ee23 commit 62851fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.1",
2+
"version": "1.0.2",
33
"name": "dotup-typescript-yeoman-generators",
44
"author": {
55
"name": "Peter Ullrich",

src/project/ProjectPathAnalyser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class ProjectPathAnalyser {
151151
// return TemplateType.merge;
152152
// } else if (path.extname(name) === '.ejs') {
153153
// return TemplateType.ejs;
154-
} else if (path.extname(name).startsWith('._.')) {
154+
} else if (path.extname(name) === '._') {
155155
return TemplateType.removeExtension;
156156
} else {
157157
return TemplateType.copyOnly;

0 commit comments

Comments
 (0)