Skip to content

Commit 237ca5c

Browse files
committed
base64 without args as decode
1 parent 25ba438 commit 237ca5c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/base64.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,5 @@ func processBase64(args []string) string {
5050
}
5151

5252
func isEncode() bool {
53-
if inputDecode {
54-
return false
55-
}
56-
return true
53+
return inputEncode
5754
}

0 commit comments

Comments
 (0)