mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Warn about Git LFS.
This commit is contained in:
@@ -49,6 +49,9 @@ func TestMain(m *testing.M) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
if !strings.HasPrefix(compressed, "BZh") {
|
||||
panic("Please use Git LFS to clone this repo: https://git-lfs.com/")
|
||||
}
|
||||
binary, err := io.ReadAll(bzip2.NewReader(strings.NewReader(compressed)))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
@@ -46,6 +46,9 @@ func TestMain(m *testing.M) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
if !strings.HasPrefix(compressed, "BZh") {
|
||||
panic("Please use Git LFS to clone this repo: https://git-lfs.com/")
|
||||
}
|
||||
binary, err := io.ReadAll(bzip2.NewReader(strings.NewReader(compressed)))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user