Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Fixed e2e workflow issue (#29)
Browse files Browse the repository at this point in the history
* Fixed e2e workflow issue

* Updating cli version

* minor
  • Loading branch information
t-dedah authored Aug 16, 2022
1 parent b8890dd commit ccd695d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
)

const VERSION = "1.0.0"
const VERSION = "1.0.1"

var rootCmd = &cobra.Command{
Use: "gh-actions-cache",
Expand Down
3 changes: 1 addition & 2 deletions internal/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package internal
import (
"errors"
"fmt"
"os"
"unicode/utf8"

"github.com/TwiN/go-color"
Expand Down Expand Up @@ -46,7 +45,7 @@ func FormatCacheSize(size_in_bytes float64) string {
func PrettyPrintCacheList(caches []types.ActionsCache) {
terminal := ghTerm.FromEnv()
w, _, _ := terminal.Size()
tp := ghTableprinter.New(os.Stdout, true, w)
tp := ghTableprinter.New(terminal.Out(), terminal.IsTerminalOutput(), w)

for _, cache := range caches {
tp.AddField(cache.Key)
Expand Down

0 comments on commit ccd695d

Please sign in to comment.