Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit b3e8a21

Browse files
committed
linter
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent bba98f5 commit b3e8a21

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

cmd/docker-app/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func main() {
2222
}
2323
return nil
2424
}
25-
cmd.Flags().MarkHidden("")
25+
_ = cmd.Flags().MarkHidden("")
2626
return cmd
2727
}, manager.Metadata{
2828
SchemaVersion: "0.1.0",

internal/packager/init.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ import (
2323
"github.com/sirupsen/logrus"
2424
)
2525

26-
func prependToFile(filename, text string) error {
27-
content, _ := ioutil.ReadFile(filename)
28-
content = append([]byte(text), content...)
29-
return ioutil.WriteFile(filename, content, 0644)
30-
}
31-
3226
// Init is the entrypoint initialization function.
3327
// It generates a new application definition based on the provided parameters
3428
// and returns the path to the created application definition.

0 commit comments

Comments
 (0)