mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-24 10:21:33 +01:00
Add and fix nlreturn (new line return)
This commit is contained in:
@@ -213,6 +213,7 @@ func absPath(path string) string {
|
||||
path = filepath.Join(dir, path)
|
||||
}
|
||||
}
|
||||
|
||||
return path
|
||||
}
|
||||
|
||||
@@ -310,6 +311,7 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
|
||||
viper.GetString("ephemeral_node_inactivity_timeout"),
|
||||
minInactivityTimeout,
|
||||
)
|
||||
|
||||
return nil, err
|
||||
}
|
||||
|
||||
@@ -415,6 +417,7 @@ func SuccessOutput(result interface{}, override string, outputFormat string) {
|
||||
}
|
||||
default:
|
||||
fmt.Println(override)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
@@ -435,6 +438,7 @@ func HasMachineOutputFlag() bool {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user