mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
Fix typos and bugs
Former-commit-id: fb374cfe0d91354506341fc5463dde7165bddc57 [formerly c1fbd8be9b1cdb8b72018e24d1bd70491675bc69] [formerly c45c4d8d6c5e1dbb9fabc839db8a1293ead7efe8 [formerly f61c324496
]]
Former-commit-id: bb005c63e6f2ef6c33c991071547f4a66b18e891 [formerly be35360661a5d2271e46e723075132906fa0562e]
Former-commit-id: 3072b5e854ca3b2d125c480262e79c66a356c08e
This commit is contained in:
parent
abfbb0be09
commit
40f3d86c11
@ -18,7 +18,7 @@ install:
|
||||
- go get github.com/tsenart/deadcode
|
||||
|
||||
script:
|
||||
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests ./...
|
||||
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --exclude="rice-box.go" --tests ./...
|
||||
- go test ./... -timeout 30s -tags
|
||||
|
||||
after_script:
|
||||
|
@ -41,7 +41,7 @@ func init() {
|
||||
flag.StringVar(&config, "config", "", "JSON configuration file")
|
||||
flag.StringVar(&port, "port", "80", "HTTP Port")
|
||||
flag.StringVar(&database, "database", "./filemanager.db", "Database path")
|
||||
flag.StringVar(&scope, "scope", ".", "Defualt scope for new users")
|
||||
flag.StringVar(&scope, "scope", ".", "Default scope for new users")
|
||||
flag.StringVar(&commands, "commands", "git svn hg", "Space separated commands available for new users")
|
||||
flag.BoolVar(&allowCommands, "allow-commands", true, "Default allow commands option")
|
||||
flag.BoolVar(&allowEdit, "allow-edit", true, "Default allow edit option")
|
||||
|
Loading…
Reference in New Issue
Block a user