Skip to content

Commit

Permalink
fix unsafe-root-download flag in cli (#471)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <bdehamer@github.com>
  • Loading branch information
bdehamer authored Oct 12, 2023
1 parent 3da7288 commit 8503b08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rotten-monkeys-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tufjs/cli': patch
---

Fix bug making --root flag unusable
1 change: 0 additions & 1 deletion packages/cli/src/commands/download-target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export default class DownloadTarget extends Command {
'unsafe-root-download': Flags.boolean({
description:
'allow downloading the trusted root from the TUF metadata repository (THIS IS NOT SAFE)',
default: false,
allowNo: false,
exactlyOne: ['root'],
}),
Expand Down

0 comments on commit 8503b08

Please sign in to comment.