diff options
author | Cameron Moore <moorereason@gmail.com> | 2018-09-06 11:02:32 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-07 08:25:51 +0200 |
commit | b8b91f550646b2620649c3504e14a441975bea9f (patch) | |
tree | 43884ec81f153aa63a25e6a51c3d187579024bda /resource/postcss | |
parent | f0effac80426325040c4bc703cd610f434d0b5a8 (diff) |
common: Fix golint errors
common/errors/errors.go:21:1: comment on exported var FeatureNotAvailableErr should be of the form "FeatureNotAvailableErr ..."
common/errors/errors.go:23:5: error var FeatureNotAvailableErr should have name of the form ErrFoo
common/maps/scratch.go:76:1: comment on exported method Scratch.Delete should be of the form "Delete ..."
common/maps/scratch.go:133:1: exported function NewScratch should have comment or be unexported
common/types/types.go:44:1: exported function NewKeyValuesStrings should have comment or be unexported
Diffstat (limited to 'resource/postcss')
-rw-r--r-- | resource/postcss/postcss.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/postcss/postcss.go b/resource/postcss/postcss.go index 3b2b4175a..202b4c06b 100644 --- a/resource/postcss/postcss.go +++ b/resource/postcss/postcss.go @@ -111,7 +111,7 @@ func (t *postcssTransformation) Transform(ctx *resource.ResourceTransformationCt binary = binaryName if _, err := exec.LookPath(binary); err != nil { // This may be on a CI server etc. Will fall back to pre-built assets. - return errors.FeatureNotAvailableErr + return errors.ErrFeatureNotAvailable } } |