Skip to content

Commit

Permalink
fixed purge/repush error when storing multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
kendavis2 committed Mar 9, 2020
1 parent 8678153 commit 726848c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/catalog/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const name = "state.yml"

// RemoveRecords ...
func (c Catalog) RemoveRecords(fileName string) error {
pulls := map[string]time.Time{}
pulls := map[string]State{}

b, err := local.Get(name, "")
if err == nil {
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ require (
github.com/aws/aws-sdk-go v1.29.18
github.com/fatih/color v1.9.0
github.com/keybase/go-keychain v0.0.0-20200218013740-86d4642e4ce2
github.com/mattn/go-colorable v0.1.4
github.com/mitchellh/go-homedir v1.1.0
github.com/satori/go.uuid v1.2.0
github.com/spf13/cobra v0.0.6 // indirect
github.com/spf13/viper v1.6.2 // indirect
github.com/spf13/cobra v0.0.6
github.com/spf13/viper v1.6.2
github.com/subosito/gotenv v1.2.0
github.com/tidwall/gjson v1.6.0
github.com/tidwall/sjson v1.0.4
Expand Down

0 comments on commit 726848c

Please sign in to comment.