Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed Jun 15, 2024
1 parent 6ea3f27 commit 353a4ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ GOBIN ?= $(CURDIR)/build
build:
yarn
go build -o $(GOBIN)/jqplay ./cmd/jqplay
go build -o $(GOBIN)/jqplay-next-migrate ./cmd/migrate

.PHONY: test
test:
Expand Down
3 changes: 2 additions & 1 deletion cmd/migrate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var optionsMap = map[string]string{
"compact-output": "-c",
"raw-output": "-r",
"raw-input": "-R",
"sort-keys": "-S",
}

type OldSnippet struct {
Expand Down Expand Up @@ -104,7 +105,7 @@ func main() {
new,
)
if err != nil {
log.Fatal(err)
log.Printf("error upserting snippet: %s %v", old.Slug, err)
}
}

Expand Down

0 comments on commit 353a4ef

Please sign in to comment.