1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

http: cleanup backend_nix.c.v, fixes vpm too

This commit is contained in:
Delyan Angelov
2020-05-20 12:04:28 +03:00
parent 1c2376741b
commit ac396ea02f
7 changed files with 49 additions and 55 deletions

View File

@ -26,7 +26,7 @@ pub fn compile_template(path string) string {
}
lines := html.split_into_lines()
mut s := strings.new_builder(1000)
// base := path.all_after('/').replace('.html', '')
// base := path.all_after_last('/').replace('.html', '')
s.writeln("
mut sb := strings.new_builder(${lines.len * 30})
header := \' \' // TODO remove