Browse Source

fixed the lz4c command not compiling after module removal in version 2

Pierre Curto 6 years ago
parent
commit
5e5dfe4064
2 changed files with 2 additions and 2 deletions
  1. 1 1
      cmd/lz4c/compress.go
  2. 1 1
      cmd/lz4c/uncompress.go

+ 1 - 1
cmd/lz4c/compress.go

@@ -7,7 +7,7 @@ import (
 	"os"
 
 	"code.cloudfoundry.org/bytefmt"
-	"github.com/schollz/progressbar/v2"
+	"github.com/schollz/progressbar"
 
 	"github.com/pierrec/cmdflag"
 	"github.com/pierrec/lz4"

+ 1 - 1
cmd/lz4c/uncompress.go

@@ -7,7 +7,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/schollz/progressbar/v2"
+	"github.com/schollz/progressbar"
 
 	"github.com/pierrec/cmdflag"
 	"github.com/pierrec/lz4"