We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e3287 commit feb9e8dCopy full SHA for feb9e8d
1 file changed
src/main/BitmapExtension.scala
@@ -18,7 +18,9 @@ class FromBase64 extends Reporter {
18
val arr = args(0).getString.split(",")
19
20
val base64 =
21
- if (arr.length == 2) {
+ if (arr.length == 1) {
22
+ arr(0)
23
+ } else if (arr.length == 2) {
24
arr(1)
25
} else {
26
throw new ExtensionException("This primitive only accepts input that is base64-encoded.")
0 commit comments