Fixed e2e workflow issue (#29)
* Fixed e2e workflow issue * Updating cli version * minor
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -3,7 +3,6 @@ package internal
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"os"
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/TwiN/go-color"
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user