fix(cli): fix crate-type hint
This commit is contained in:
parent
bfa454f94d
commit
894334e8f1
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ export class BuildCommand extends Command {
|
||||||
|
|
||||||
if (!tomlContent.lib?.['crate-type']?.includes?.('cdylib')) {
|
if (!tomlContent.lib?.['crate-type']?.includes?.('cdylib')) {
|
||||||
throw new TypeError(
|
throw new TypeError(
|
||||||
`Missing ${chalk.green('create-type = ["cdylib"]')} in ${chalk.green(
|
`Missing ${chalk.green('crate-type = ["cdylib"]')} in ${chalk.green(
|
||||||
'[lib]',
|
'[lib]',
|
||||||
)}`,
|
)}`,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue