File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
2- "version" : " 1.0.4 " ,
2+ "version" : " 1.0.5 " ,
33 "name" : " dotup-typescript-yeoman-generators" ,
44 "author" : {
55 "name" : " Peter Ullrich" ,
Original file line number Diff line number Diff line change @@ -392,15 +392,15 @@ export abstract class BaseGenerator<TStep extends string> extends generator {
392392 this . projectFiles . templateFiles . forEach ( file => {
393393
394394 // Get the file extension
395- let ext = path . extname ( file . filePath ) ;
395+ let ext = path . extname ( file . targetPath ) ;
396396
397397 // Remove the extension on renamable files
398398 if ( file . typ === TemplateType . removeExtension ) {
399399 ext = path . extname ( file . targetPath ) ;
400400 }
401401
402402 if ( ext === '' ) {
403- ext = path . basename ( file . filePath ) ;
403+ ext = path . basename ( file . targetPath ) ;
404404 }
405405
406406
You can’t perform that action at this time.
0 commit comments