Skip to content

Commit fd37dd3

Browse files
committed
Linting
1 parent 783739b commit fd37dd3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/model/activity-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class ActivityFileMeta {
2020

2121
getDsommVersion(): string | null {
2222
if (this.publisher && this.publisher.startsWith(ActivityFileMeta.DSOMM_PUBLISHER)) {
23-
return (this.version?.startsWith('v')) ? this.version : `v${this.version}`;
23+
return this.version?.startsWith('v') ? this.version : `v${this.version}`;
2424
}
2525
return null;
2626
}

src/app/service/loader/data-loader.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ export class LoaderService {
9191
if (err instanceof FileNotFoundError) {
9292
console.error(`${perfNow()}: Missing model file: ${err?.filename || err}`);
9393
if (err.filename && err.filename.endsWith('default/model.yaml')) {
94-
let msg: string = `No DSOMM Model file found.\n\n` +
94+
let msg: string =
95+
`No DSOMM Model file found.\n\n` +
9596
`Please download \`model.yaml\` from [DSOMM-data](${this.DSOMM_MODEL_URL}) on GitHub, \\\n` +
9697
`and place it in the \`src\\assets\\default\` folder.`;
9798
this.notificationService.notify('Loading error', msg);

0 commit comments

Comments
 (0)