fix(core): Display name/version in logs
This commit is contained in:
parent
ab9a91ce34
commit
bc8b742cb7
1 changed files with 3 additions and 5 deletions
|
@ -656,11 +656,9 @@ Pattern.prototype.__init = function () {
|
|||
this.__runHooks('preInit')
|
||||
// Say hello
|
||||
this.store.log.info(
|
||||
`New \`${this.store.get('data.name', 'No Name')}:` +
|
||||
`${this.store.get(
|
||||
'data.version',
|
||||
'No version'
|
||||
)}\` pattern using \`@freesewing/core:${version}\``
|
||||
`New \`${this.designConfig?.data?.name || 'No Name'}:` +
|
||||
`${this.designConfig?.data?.version || 'No version'}\` ` +
|
||||
`pattern using \`@freesewing/core:${version}\``
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue