Remove single-comma empty array form

This commit is contained in:
Wesley Wigham committed 2016-06-10 14:35:13 -07:00
1 parent a3a1c49739
commit d20459607b
2 files changed
+1 -13

No files matched your search

+1 -1
View File
@@ -493,7 +493,7 @@ namespace ts {
if (startsWith(value, "-")) {
return undefined;
}
if (value === "" || value === ",") {
if (value === "") {
return [];
}
const values = value.split(",");