fix: add blank lines before return statements (nlreturn)
Fix nlreturn linting issues by adding blank lines before return statements in cli and secret packages.
This commit is contained in:
@@ -48,6 +48,7 @@ func VersionCommands(cli *Instance) *cobra.Command {
|
||||
}
|
||||
|
||||
versionCmd.AddCommand(listCmd, promoteCmd)
|
||||
|
||||
return versionCmd
|
||||
}
|
||||
|
||||
@@ -154,6 +155,7 @@ func (cli *Instance) ListVersions(cmd *cobra.Command, secretName string) error {
|
||||
}
|
||||
|
||||
w.Flush()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user