1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-08 18:59:03 +00:00

Fix security issue and add go linter (#677)

* Fix security issue and add go linter

* Fix error checked by golangci-lint

* Delete jwt-go pkg

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-08-12 14:59:45 +08:00
committed by GitHub
parent 026a6d504f
commit 738716496a
19 changed files with 134 additions and 78 deletions

View File

@@ -44,7 +44,7 @@ var diffTestDirID2 string
*/
func TestDiffTrees(t *testing.T) {
fsmgr.Init(diffTestSeafileConfPath, diffTestSeafileDataDir)
fsmgr.Init(diffTestSeafileConfPath, diffTestSeafileDataDir, 2<<30)
err := diffTestCreateTestDir()
if err != nil {