feat(list.go): changed fallback value
This commit is contained in:
parent
0842cc68ad
commit
022eb8edba
1 changed files with 2 additions and 1 deletions
3
list.go
3
list.go
|
@ -44,7 +44,8 @@ func list(conn net.Conn, instance string) error {
|
|||
|
||||
version, has := info["version"]
|
||||
if !has {
|
||||
version = "1.0"
|
||||
// setting a version is technically not required
|
||||
version = ""
|
||||
}
|
||||
package_list[program.Name()] = version.(string)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue