mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Fix the last Go Vet error
This commit is contained in:
1 parent
be01d04870
commit
be57ec5331
1 file changed
+1
-1
+1
-1
@@ -425,7 +425,7 @@ func NewWatcher(port int) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if staticChanged {
|
if staticChanged {
|
||||||
jww.FEEDBACK.Println("Static file changed, syncing\n")
|
jww.FEEDBACK.Printf("Static file changed, syncing\n\n")
|
||||||
utils.StopOnErr(copyStatic(), fmt.Sprintf("Error copying static files to %s", helpers.AbsPathify(viper.GetString("PublishDir"))))
|
utils.StopOnErr(copyStatic(), fmt.Sprintf("Error copying static files to %s", helpers.AbsPathify(viper.GetString("PublishDir"))))
|
||||||
|
|
||||||
if !BuildWatch && !viper.GetBool("DisableLiveReload") {
|
if !BuildWatch && !viper.GetBool("DisableLiveReload") {
|
||||||
|
|||||||
Reference in new issue
Block a user