Skip to content

Commit 23f4d02

Browse files
author
mkyla
authored
refactor: simplify main function by removing error handling and using run()
1 parent 9a8921a commit 23f4d02

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

cmd/nodepass/main.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
package main
22

3-
import "os"
4-
53
var version = "dev"
64

7-
func main() {
8-
if err := start(os.Args); err != nil {
9-
exit(err)
10-
}
11-
}
5+
func main() { run() }

0 commit comments

Comments
 (0)