From 894334e8f1ba138d029cc861dfc836edc95c17d3 Mon Sep 17 00:00:00 2001 From: Hana Date: Thu, 23 Dec 2021 03:10:44 +0800 Subject: [PATCH] fix(cli): fix crate-type hint --- cli/src/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/build.ts b/cli/src/build.ts index 1e228a96..aa228fcd 100644 --- a/cli/src/build.ts +++ b/cli/src/build.ts @@ -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]', )}`, )