Skip to content

Commit

Permalink
cli: fix: replace obsolete todo with a new one
Browse files Browse the repository at this point in the history
  • Loading branch information
hooper committed Jul 29, 2024
1 parent a17d97a commit 51e11ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cli/src/commands/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,8 @@ pub(crate) fn cmd_fix(
// We currently only support fixing the content of normal files, so we skip
// directories and symlinks, and we ignore the executable bit.
if let TreeValue::File { id, executable: _ } = term {
// TODO: Consider filename arguments and tool configuration instead of
// passing every changed file into the tool. Otherwise, the tool has to
// be modified to implement that kind of stuff.
// TODO: Skip the file if its content is larger than some configured size,
// preferably without actually reading it yet.
let tool_input = ToolInput {
file_id: id.clone(),
repo_path: repo_path.clone(),
Expand Down

0 comments on commit 51e11ff

Please sign in to comment.