Skip to content

Commit

Permalink
dump object
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Jan 18, 2024
1 parent 7bc28eb commit 3fc84e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli/pkg/digger/digger.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package digger
import (
"errors"
"fmt"
"github.com/davecgh/go-spew/spew"
"log"
"os"
"path"
Expand Down Expand Up @@ -142,10 +143,14 @@ func RunJobs(
for _, job := range batchResult.Jobs {
message = message + fmt.Sprintf(""+
"<!-- PROJECTHOLDER %v -->\n"+
":airplane: %v %v [Resources %v created, %v updated, %v delted]\n"+
":airplane: %v %v [Resources %v created, %v updated, %v deleted]\n"+
"<!-- PROJECTHOLDEREND %v -->\n"+
"", job.ProjectName, job.ProjectName, job.Status.ToString(), job.ResourcesCreated, job.ResourcesUpdated, job.ResourcesDeleted, job.ProjectName)
}

fmt.Printf("!!!! interface")
spew.Dump(batchResult)

prService.EditComment(prNumber, prCommentId, message)
}

Expand Down

0 comments on commit 3fc84e2

Please sign in to comment.