From a1bf3ad3f6a73d0f8395c8dc19636bb7ff4b82c5 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 5 Dec 2023 18:44:20 -0500 Subject: [PATCH] fix: `--no-default-features` flag was broken --- lib/args.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/args.ts b/lib/args.ts index 957c0e9..76ac848 100644 --- a/lib/args.ts +++ b/lib/args.ts @@ -77,7 +77,7 @@ export function parseArgs(rawArgs: string[]): Command { function getCargoFlags() { const cargoFlags = []; - if (flags["default-features"] === false) { + if (flags["no-default-features"]) { cargoFlags.push("--no-default-features"); } if (flags["features"]) {