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

compiler: fix unused import warnings

This commit is contained in:
Delyan Angelov
2020-01-05 17:29:33 +02:00
committed by Alexander Medvednikov
parent 868d6c808b
commit c24a1b3786
5 changed files with 26 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ pub fn compile_template(path string) string {
mut header := ''
if os.exists('header.html') {
h := os.read_file('header.html')or{
panic('html failed')
panic('reading file header.html failed')
}
header = h.replace("\'", '"')
html = header + html