remove
This commit is contained in:
parent
c3a87c62c8
commit
b732730c03
@ -107,6 +107,8 @@ func prepareDirectoryPayload(baseURL, directory string) (string, string, error)
|
|||||||
return "", "", fmt.Errorf("no files with supported extensions to serve")
|
return "", "", fmt.Errorf("no files with supported extensions to serve")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strings.TrimSuffix(payloadBuilder.String(), "\n")
|
||||||
|
|
||||||
return payloadBuilder.String(), directory, nil
|
return payloadBuilder.String(), directory, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user