pull/249/head
xwashere 6 months ago
parent 8a5684c4ec
commit ab94343cb4
No known key found for this signature in database
GPG Key ID: 042F8BFA1B0EF93B

@ -186,8 +186,8 @@ export function prepareTemplate(src: string): TemplateOp {
args: joined,
srcRange: {
file: file,
from: tokens[start].from,
to: tokens[pos - 1].to
from: tokens[Math.min(tokens.length - 1, start)].from,
to: tokens[Math.min(tokens.length, pos) - 1].to
}
};
}

Loading…
Cancel
Save