Skip to content

Commit 269b7a4

Browse files
committed
fix: Replace undefined to avoid unexpected output (#88)
1 parent 72f4282 commit 269b7a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/color/color.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class ColorServiceStatic {
150150
.padStart(2, "0")
151151
);
152152

153-
return ["#", rr, gg, bb, aa === "ff" ? undefined : aa].join("");
153+
return ["#", rr, gg, bb, aa === "ff" ? "" : aa].join("");
154154
}
155155
}
156156

0 commit comments

Comments
 (0)