fix as-array utility

This commit is contained in:
Ronald A. Richardson
2024-09-06 12:18:11 +08:00
parent ea47bdc09d
commit acc4cfba35

View File

@@ -7,5 +7,5 @@ module.exports = function asArray(value) {
return value.split(',');
}
return [];
return Array.from(value);
};