remove function scope
This commit is contained in:
parent
f37a2477a7
commit
6f9e6eb3aa
|
@ -43,7 +43,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const coerce = (value, type) => {
|
const coerce = (value, type) => {
|
||||||
var re = new RegExp(/{{([^{].*?)}}/g)
|
const re = new RegExp(/{{([^{].*?)}}/g)
|
||||||
if (re.test(value)) {
|
if (re.test(value)) {
|
||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue