Explorar el Código

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

Pierre Curto hace 6 años
padre
commit
5e5dfe4064
Se han modificado 2 ficheros con 2 adiciones y 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"
 	"os"
 
 
 	"code.cloudfoundry.org/bytefmt"
 	"code.cloudfoundry.org/bytefmt"
-	"github.com/schollz/progressbar/v2"
+	"github.com/schollz/progressbar"
 
 
 	"github.com/pierrec/cmdflag"
 	"github.com/pierrec/cmdflag"
 	"github.com/pierrec/lz4"
 	"github.com/pierrec/lz4"

+ 1 - 1
cmd/lz4c/uncompress.go

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