Skip to content

Commit

Permalink
fix: remove ts from end of fille Closes #333 (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefiozie committed Nov 4, 2019
1 parent 71d40fc commit 364a12a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -9,7 +9,7 @@ export class AngularCodeGenService {
constructor(
private readonly formatService: FormatService,
private readonly webCodeGen: WebCodeGenService
) {}
) { }

buttons() {
return {
Expand Down Expand Up @@ -127,7 +127,7 @@ export class XlayersModule {}`;
.filter(file => file.uri.endsWith('.component.ts'))
.map(
file =>
`import { ${this.extractClassName(file)} } from './${file.uri}';`
`import { ${this.extractClassName(file)} } from './${file.uri.substring(0, file.uri.indexOf('.ts'))}';`
)
)
.join('\n');
Expand Down

0 comments on commit 364a12a

Please sign in to comment.