Преглед изворни кода

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

Pierre Curto пре 6 година
родитељ
комит
5e5dfe4064
2 измењених фајлова са 2 додато и 2 уклоњено
  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"