From 70f5688432e75a36ba0578514161af1b6a934876 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 19 Jan 2024 20:20:20 +0100 Subject: go --- ROADMAP.md | 2 +- c_parse.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index e9e7afe..ac3621e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -54,7 +54,7 @@ ## v1.3 - ghetto bird -- [ ] sorting options +- [ ] sorting options (yea like never) ## v1.4 diff --git a/c_parse.go b/c_parse.go index 45dec61..61d4dfc 100644 --- a/c_parse.go +++ b/c_parse.go @@ -62,6 +62,7 @@ func c_read_yaml_file(file string) *HostNode { yaml_file, err := os.ReadFile(file) if err != nil { + // TODO: remove all c_dies with c_err_mode c_die("error reading file " + file, err) } if err = yaml.Unmarshal(yaml_file, &host); err != nil { -- cgit v1.2.3