This commit is contained in:
Rich Harris
2017-12-21 13:39:13 -05:00
parent e9203b4d71
commit f0feab5738

View File

@@ -38,7 +38,7 @@ function create_templates() {
const start = template.indexOf('%sapper', i);
if (start === -1) {
res.end(template.slice(start));
res.end(template.slice(i));
return;
}