diff --git a/vss.v b/vss.v index 7bfc0c1..aea3977 100644 --- a/vss.v +++ b/vss.v @@ -51,9 +51,7 @@ fn get_config_map() ?map[string]string { config := toml.parse_file(default_config)? for param in config_params { - v := config.value_opt(param) or { - continue - } + v := config.value_opt(param) or { continue } config_map[param] = v.string() } return config_map diff --git a/vss_test.v b/vss_test.v index 950f4ac..844057d 100644 --- a/vss_test.v +++ b/vss_test.v @@ -10,6 +10,6 @@ fn normalise_paths(paths []string) []string { fn test_get_html_filename() { test_path := 'index.md' - html_name := get_html_filename(test_path) + html_name := get_html_filename(test_path) assert html_name == 'index.html' -} \ No newline at end of file +}