diff options
Diffstat (limited to 'publisher')
-rw-r--r-- | publisher/publisher.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/publisher/publisher.go b/publisher/publisher.go index 0da705461..119be356b 100644 --- a/publisher/publisher.go +++ b/publisher/publisher.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Hugo Authors. All rights reserved. +// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -86,7 +86,7 @@ func NewDestinationPublisher(fs afero.Fs, outputFormats output.Formats, mediaTyp // to its destination, e.g. /public. func (p DestinationPublisher) Publish(d Descriptor) error { if d.TargetPath == "" { - return errors.New("must provide a TargetPath") + return errors.New("Publish: must provide a TargetPath") } src := d.Src |