mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
printf: replace %#v with the more explicit %q
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -808,7 +808,7 @@ func (c *Conf) isWebClientEnabled() bool {
|
||||
|
||||
func (c *Conf) checkRequiredDirs(staticFilesPath, templatesPath string) error {
|
||||
if (c.isWebAdminEnabled() || c.isWebClientEnabled()) && (staticFilesPath == "" || templatesPath == "") {
|
||||
return fmt.Errorf("required directory is invalid, static file path: %#v template path: %#v",
|
||||
return fmt.Errorf("required directory is invalid, static file path: %q template path: %q",
|
||||
staticFilesPath, templatesPath)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user