Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tcharl committed Oct 11, 2024
1 parent 094e28e commit 362fa87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/angular/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default class AngularGenerator extends BaseApplicationGenerator<
filter: file => isFileStateModified(file) && file.path.startsWith(this.destinationPath()) && isTranslatedAngularFile(file),
refresh: false,
},
translateAngularFilesTransform(control.getWebappTranslation, { enableTranslation, jhiPrefix }),
translateAngularFilesTransform(control.getWebappTranslation!, { enableTranslation, jhiPrefix }),
);
},
});
Expand Down
4 changes: 3 additions & 1 deletion generators/spring-boot/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ const { NO: NO_CLIENT } = clientFrameworkTypes;
const { BYTES: TYPE_BYTES, BYTE_BUFFER: TYPE_BYTE_BUFFER } = fieldTypes.RelationalOnlyDBTypes;
const { CUCUMBER, GATLING } = testFrameworkTypes;
export default class SpringBootGenerator extends BaseApplicationGenerator {
fakeKeytool;

async beforeQueue() {
if (!this.fromBlueprint) {
await this.composeWithBlueprints();
Expand Down Expand Up @@ -461,7 +463,7 @@ public void set${javaBeanCase(propertyName)}(${propertyType} ${propertyName}) {
},
async generateKeyStore({ application }) {
const keyStoreFile = this.destinationPath(`${application.srcMainResources}config/tls/keystore.p12`);
if (application.fakeKeytool) {
if (this.fakeKeytool) {
this.writeDestination(keyStoreFile, 'fake key-tool');
} else {
this.validateResult(await generateKeyStore(keyStoreFile, { packageName: application.packageName! }));
Expand Down

0 comments on commit 362fa87

Please sign in to comment.