fix(make.py): timer outside loop
Anirudh icyph0x@protonmail.com
Fri, 13 Apr 2018 21:44:51 +0530
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
vite/make.py
→
vite/make.py
@@ -52,7 +52,7 @@ output = jinja_render(html_text, template_file)
with open(os.path.join(html_file, 'index.html'), 'w') as f: f.write(output) print(run('Rendered %s.' % (page))) - print(info('Done in %0.5fs.' % (time.process_time() - start))) + print(info('Done in %0.5fs.' % (time.process_time() - start))) except jinja2.exceptions.TemplateNotFound: print(bad('Error: specified template not found: %s' % (template_file)))