Skip to content

Commit caf1970

Browse files
committed
rename for installer purposes
1 parent ec663bc commit caf1970

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ go := $(goenv) go
1313
build-dir := $(CURDIR)/build
1414
local-clean :=
1515

16-
cli-dir := cli
17-
cli-bin := fastmask
16+
fastmask-dir := fastmask
17+
fastmask-bin := fastmask
1818
watch-fastmask-args := example.com
1919

20-
binary-tags := cli
20+
binary-tags := fastmask
2121
phony-targets := clean all
2222

2323
tool-types := go

cli/main.go renamed to fastmask/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ func createMaskedEmail(fastmailId *FastmailIdentity, domain, token string) (*Fas
208208
return nil, err
209209
}
210210

211+
// the following manual unmarshaling code is due to the jmap response array
212+
// containing both strings and maps which does not elegantly map to nested
213+
// Go structs
211214
responsesLength := len(fastmailResponse.MethodResponses)
212215
if responsesLength < 1 {
213216
return nil, fmt.Errorf("invalid responses length: %v", responsesLength)
File renamed without changes.

0 commit comments

Comments
 (0)