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:
committed by
Alexander Medvednikov
parent
868d6c808b
commit
c24a1b3786
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user