зеркало из https://github.com/mozilla/pjs.git
There's a bug somewhere which results in the expansion of an undefined string. This assertion should help track it down.
This commit is contained in:
Родитель
53d3369e22
Коммит
7cab9b3ac4
|
@ -146,6 +146,7 @@ sub getArgumentsAsString {
|
|||
sub getArgumentsFromString {
|
||||
my $self = shift;
|
||||
my($string) = @_;
|
||||
$self->assert(defined($string), 1, 'Tried to expand an undefined string');
|
||||
if (ref($string) eq 'ARRAY') {
|
||||
$string = join(';', @$string);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче