Skip to content

Commit

Permalink
rename: target -> command
Browse files Browse the repository at this point in the history
  • Loading branch information
kyu08 committed Nov 24, 2024
1 parent 43bf4da commit 4e883cf
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 109 deletions.
2 changes: 1 addition & 1 deletion src/usecase/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ USAGE:
SUBCOMMANDS:
repeat, --repeat, -r
Execute the last executed make target.
Execute the last executed command.
history, --history, -h
Launch fzf-make with the history pane focused.
help, --help, -h
Expand Down
2 changes: 1 addition & 1 deletion src/usecase/repeat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl Usecase for Repeat {
match Model::new(config::Config::default()) {
Err(e) => Err(e),
Ok(model) => match model.app_state {
AppState::SelectTarget(state) => match state.get_latest_command() {
AppState::SelectCommand(state) => match state.get_latest_command() {
Some(c) => match state.get_runner(&c.runner_type) {
Some(runner) => runner.execute(c),
None => Err(anyhow!("runner not found.")),
Expand Down
Loading

0 comments on commit 4e883cf

Please sign in to comment.