mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
1 file changed
+4
-1
@@ -158,7 +158,10 @@ func (c *pagesCollector) isCascadingEdit(dir contentDirKey) (bool, string) {
|
||||
func (c *pagesCollector) Collect() (collectErr error) {
|
||||
c.proc.Start(context.Background())
|
||||
defer func() {
|
||||
collectErr = c.proc.Wait()
|
||||
err := c.proc.Wait()
|
||||
if collectErr == nil {
|
||||
collectErr = err
|
||||
}
|
||||
}()
|
||||
|
||||
if len(c.filenames) == 0 {
|
||||
|
||||
Reference in new issue
Block a user