Skip to content

Commit

Permalink
install.js: cosmetise message
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Feb 26, 2025
1 parent fd23b55 commit bda8ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/xpm/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,9 @@ export class Install extends CliCommand {
} else if (isObject(value) && isString(value.specifier)) {
dependency = value
} else {
log.warn(`dependency '${key}' has an unsupported content, ignored`)
log.warn(`${isDev ? 'devDependency' : 'dependency'} '${key}' ` +
'has an unsupported "specifier": ' +
`"${util.inspect(value.specifier)}" property; dependency ignored`)
return
}

Expand Down

0 comments on commit bda8ba4

Please sign in to comment.