little progress and bugfixes

This commit is contained in:
Ronald A. Richardson
2024-09-06 12:17:30 +08:00
parent c60c460257
commit ea47bdc09d
10 changed files with 59 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ module.exports = function asArray(value) {
return value;
}
if (typeof value === 'string' && value.includes(',')) {
if (typeof value === 'string') {
return value.split(',');
}