mirror of
https://github.com/grdl/git-get.git
synced 2026-02-05 00:54:41 +00:00
Fix issues found by godot linter
This commit is contained in:
@@ -10,7 +10,7 @@ const (
|
||||
head = "HEAD"
|
||||
)
|
||||
|
||||
// Printable represents a repository which status can be printed
|
||||
// Printable represents a repository which status can be printed.
|
||||
type Printable interface {
|
||||
Path() string
|
||||
Current() string
|
||||
|
||||
@@ -203,7 +203,7 @@ func indentation(node *Node) string {
|
||||
return indent.String()
|
||||
}
|
||||
|
||||
// isYoungest checks if the node is the last one in the slice of children
|
||||
// isYoungest checks if the node is the last one in the slice of children.
|
||||
func (n *Node) isYoungest() bool {
|
||||
if n.parent == nil {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user