Skip to content

Commit

Permalink
fix: --no-default-features flag was broken
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Dec 5, 2023
1 parent 2f356fb commit a1bf3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]) {
Expand Down

0 comments on commit a1bf3ad

Please sign in to comment.