mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Fix some Sieve parser issues
This commit is contained in:
parent
62639acc5a
commit
f3935b1df4
3 changed files with 6 additions and 5 deletions
|
|
@ -196,7 +196,7 @@ export class GrammarTestList extends Array
|
|||
// return '(\r\n\t' + arrayToString(this, ',\r\n\t') + '\r\n)';
|
||||
return '(' + this.join(', ') + ')';
|
||||
}
|
||||
return this.length ? this[0] : '';
|
||||
return this.length ? this[0].toString() : '';
|
||||
}
|
||||
|
||||
push(value)
|
||||
|
|
@ -254,7 +254,7 @@ export class GrammarStringList extends Array
|
|||
if (1 < this.length) {
|
||||
return '[' + this.join(',') + ']';
|
||||
}
|
||||
return this.length ? this[0] : '';
|
||||
return this.length ? this[0].toString() : '';
|
||||
}
|
||||
|
||||
push(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue