aboutsummaryrefslogtreecommitdiffhomepage
path: root/interpolate.js
diff options
context:
space:
mode:
Diffstat (limited to 'interpolate.js')
-rw-r--r--interpolate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpolate.js b/interpolate.js
index 443450e..70ac4eb 100644
--- a/interpolate.js
+++ b/interpolate.js
@@ -1,6 +1,6 @@
const regex = /\${[^{]+}/g;
-export default function interpolate(template, variables, fallback) {
+export default function interpolate(template, variables) {
return template.replace(regex, (match) => {
const path = match.slice(2, -1).trim();
return getObjPath(path, variables);