File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments