mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 13:06:38 +00:00
ci(lint): fix golangci-lint complaints (#90)
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
//go:generate tiffutil -cathidpicheck bg.png bg@2x.png -out bg.tif
|
||||
|
||||
// Background is a raw byte slice of bytes of bg.tiff
|
||||
//
|
||||
//go:embed bg.tif
|
||||
var Background []byte
|
||||
|
||||
@@ -19,6 +20,7 @@ func BackgroundTempFile() (string, error) {
|
||||
}
|
||||
|
||||
// Icon is a raw byte slice of bytes of vol.icns
|
||||
//
|
||||
//go:embed vol.icns
|
||||
var Icon []byte
|
||||
|
||||
|
||||
@@ -22,8 +22,9 @@ type Options struct {
|
||||
Output io.Writer
|
||||
}
|
||||
|
||||
//nolint:funlen
|
||||
// Create will create a *.dmg disk image as specified by the given Options.
|
||||
//
|
||||
//nolint:funlen
|
||||
func Create(ctx context.Context, opts *Options) (string, error) {
|
||||
logger := hclog.FromContext(ctx).Named("package")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user