As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 13735001 authored by gaurav.marwal's avatar gaurav.marwal
Browse files

Fix initial lint issues in main

parent a7e66f03
No related branches found
No related tags found
No related merge requests found
// Package main is the entry point for the gitlab-shell-authorized-keys-check command
package main
import (
Loading
Loading
@@ -55,7 +56,7 @@ func main() {
ctx, finished := command.Setup(executable.Name, config)
defer finished()
if ctx, err = cmd.Execute(ctx); err != nil {
if _, err = cmd.Execute(ctx); err != nil {
console.DisplayWarningMessage(err.Error(), readWriter.ErrOut)
os.Exit(1)
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment