Merge pull request #963 from h-a-n-a/patch-1

This commit is contained in:
LongYinan 2021-12-23 08:47:42 +08:00 committed by GitHub
commit 17a3000077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,7 +199,7 @@ export class BuildCommand extends Command {
if (!tomlContent.lib?.['crate-type']?.includes?.('cdylib')) {
throw new TypeError(
`Missing ${chalk.green('create-type = ["cdylib"]')} in ${chalk.green(
`Missing ${chalk.green('crate-type = ["cdylib"]')} in ${chalk.green(
'[lib]',
)}`,
)