Commit 38fe986a authored by walkhan's avatar walkhan

Merge branch 'dev' of https://github.com/DataLinkDC/dlink into dev

parents 44bf12f6 91195f67
......@@ -158,7 +158,8 @@ const FlinkSqlEditor = (props:any) => {
indent: ' '.repeat(options.tabSize)
});
formatted = formatted.replace(/` ([^`]*) `/g,function (){return '`'+arguments[1].trim()+'`'})
formatted = formatted.replace(/\$ {([^}]*)}/g,function (){return '${'+arguments[1].trim()+'}'})
.replace(/\$ {([^}]*)}/g,function (){return '${'+arguments[1].trim()+'}'})
.replace(/\| ([^}]*)\|/g,function (){return '|'+arguments[1].trim()+'|'})
return [
{
range: range,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment