🎨 v fmt

This commit is contained in:
zztkm 2022-08-12 23:18:32 +09:00
parent 5870036619
commit 06dcc11214
2 changed files with 3 additions and 5 deletions

4
vss.v
View file

@ -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

View file

@ -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'
}
}