We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62851fe commit 9c9116dCopy full SHA for 9c9116d
package.json
@@ -1,5 +1,5 @@
1
{
2
- "version": "1.0.2",
+ "version": "1.0.3",
3
"name": "dotup-typescript-yeoman-generators",
4
"author": {
5
"name": "Peter Ullrich",
src/BaseGenerator.ts
@@ -392,6 +392,12 @@ export abstract class BaseGenerator<TStep extends string> extends generator {
392
393
// Get the file extension
394
let ext = path.extname(file.filePath);
395
+
396
+ // Remove the extension on renamable files
397
+ if (ext === '._') {
398
+ ext = path.extname(path.basename(file.filePath, '._'));
399
+ }
400
401
if (ext === '') {
402
ext = path.basename(file.filePath);
403
}
0 commit comments