Skip to content

Commit

Permalink
Change targetr to target to fix small typo bug on one failure
Browse files Browse the repository at this point in the history
The target object seems to have a typo where it is referred to as
“targetr” which I’d guess isn’t exactly what we’d like to do in this
case. So, I’ve changed that to “target” in order to work.

So, I’ve simply fixed that small typo.
  • Loading branch information
picatz committed Oct 19, 2017
1 parent 54d64cd commit 7cd532c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def generate_ani(payload, target)
].pack('v')

else
fail_with(Failure::NoTarget, "Unknown target #{targetr['Method']}")
fail_with(Failure::NoTarget, "Unknown target #{target['Method']}")
end

# Build the ANI file
Expand Down

0 comments on commit 7cd532c

Please sign in to comment.