optimise sign
This commit is contained in:
parent
983b0db171
commit
d2023a5789
@ -167,15 +167,15 @@ func signFiles(path string) {
|
||||
|
||||
count := 0
|
||||
totalCount := len(files)
|
||||
filePath := "\""
|
||||
filePath := ""
|
||||
for _, file := range files {
|
||||
totalCount--
|
||||
if count < 100 && totalCount > 0 {
|
||||
if count < 10 && totalCount > 0 {
|
||||
count++
|
||||
filePath = filePath + " " + path + file
|
||||
} else {
|
||||
count = 0
|
||||
filePath = filePath + " " + path + file + "\""
|
||||
filePath = filePath + " " + path + file
|
||||
signQueue <- filePath
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user