Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jku20 committed Aug 8, 2024
1 parent 8f2a45d commit d6b7623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fud2/fud-core/src/script/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ impl ScriptContext {
Some(ShellCommands::Cmds(c)) => c.clone(),

None => {
// If cmds is empty, then the op doesn't do anything and should be considered
// erroneous.
// If cmds is empty, then the op doesn't create any of it's targets and
// should be considered erroneous.
return Err(RhaiSystemError::empty_op()
.with_pos(pos)
.into());
Expand Down

0 comments on commit d6b7623

Please sign in to comment.