Skip to content

Commit a62c1fa

Browse files
authored
patch: fix typo "defined" (#1050)
1 parent 8a911f4 commit a62c1fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ sub bless {
375375
my $class = "Patch::\u$type";
376376

377377
my ($options, $garbage) = @{$_[0]}{'options', 'garbage'};
378-
$options = defiend $options ? $options : [];
378+
$options = defined $options ? $options : [];
379379

380380
# New hunk, same patch.
381381
$_[0]{hunk}++, return 1 if $_[0]->isa($class) && ! @$garbage;

0 commit comments

Comments
 (0)