Skip to content

Commit

Permalink
Added protection for missing diff_options
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanwills committed Mar 23, 2015
1 parent ee4c53d commit ada3e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/vcsvimdiff
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ sub diff {
return unless `diff '$files[0]' '$files[1]'`;
}

system $option{diff}, @{ $option{diff_option} }, @files;
system $option{diff}, @{ $option{diff_option} || [] }, @files;
}

__DATA__
Expand Down

0 comments on commit ada3e33

Please sign in to comment.