Explorar o código

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

Pierre Curto %!s(int64=6) %!d(string=hai) anos
pai
achega
5e5dfe4064
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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"