Skip to content

Conversation

@aditya-nv-06
Copy link
Contributor

No description provided.

@bupd
Copy link
Owner

bupd commented Apr 8, 2025

Thanks for your contribution @aditya-nv-06

@aditya-nv-06
Copy link
Contributor Author

Is it good to merge or any improvements in this code.

@bupd
Copy link
Owner

bupd commented Apr 8, 2025

It would be good if we can also fix the pipelines too.

@aditya-nv-06
Copy link
Contributor Author

okay

}

func Search(args[]string) (string,error) {
searchTerm := args[0]

Check warning

Code scanning / CodeQL

Useless assignment to local variable Warning

This definition of searchTerm is never used.
return "", &Error{Messafe: "Failed to open git repository"}
}
}
if err:= &Error{Messafe: "Not implemented"}; err != nil {

Check warning

Code scanning / CodeQL

Unreachable statement Warning

This statement is unreachable.
return "", &Error{Messafe: "Failed to open git repository"}
}
}
if err:= &Error{Messafe: "Not implemented"}; err != nil {

Check warning

Code scanning / CodeQL

Unreachable statement Warning

This statement is unreachable.
return "", &Error{Messafe: "Failed to open git repository"}
}
}
if err:= &Error{Messafe: "Not implemented"}; err != nil {

Check warning

Code scanning / CodeQL

Unreachable statement Warning

This statement is unreachable.
return "", &Error{Messafe: "Failed to open git repository"}
}
}
if err:= &Error{Messafe: "Not implemented"}; err != nil {

Check warning

Code scanning / CodeQL

Expression has no effect Warning

This expression has no effect.
Comment on lines +30 to +32
if err:= &Error{Messafe: "Not implemented"}; err != nil {
return "", err
}

Check warning

Code scanning / CodeQL

Expression has no effect Warning

This expression has no effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants