Skip to content

Commit b56389d

Browse files
committed
Use string template
1 parent 3de8738 commit b56389d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.blueprint/generate-sample/generator.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ export default class extends BaseGenerator {
6969
this.jdlSample = 'app';
7070
}
7171
if (this.sampleName.includes('jwt-')) {
72-
this.jdlSample = this.jdlSample + '_withUserRelation';
72+
this.jdlSample = `${this.jdlSample}_withUserRelation`;
7373
}
74-
this.jdlSample = this.jdlSample + '.jdl';
74+
this.jdlSample = `${this.jdlSample}.jdl`;
7575
this.copyTemplate(`samples/jdl-default/${this.jdlSample}`, this.jdlSample, { noGlob: true });
7676
}
7777
},

0 commit comments

Comments
 (0)