Skip to content

Commit 7859091

Browse files
committed
add semicolon
1 parent 62359bb commit 7859091

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/lib/template-engine/built-in-extensions/cache/cacheTagRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class CacheTagRunner extends TagRunner {
4545
.split(/\r?\n/)
4646
.filter((line) => line.trim().length > 0)
4747
.join('\n')
48-
.replace(/--.*(?:\n|$)|\/\*[\s\S]*?\*\//g, '') // remove single-line comments and multi-line comments
48+
.replace(/--.*(?:\n|$)|\/\*[\s\S]*?\*\//g, ''); // remove single-line comments and multi-line comments
4949

5050
// Set the default vulcan created cache table schema, so we could query the cache table directly, not need user to type schema in the SQL.
5151
query = `set schema=${vulcanCacheSchemaName};`.concat('\n').concat(query);

packages/core/src/lib/template-engine/built-in-extensions/query-builder/reqTagRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class ReqTagRunner extends TagRunner {
4545
.split(/\r?\n/)
4646
.filter((line) => line.trim().length > 0)
4747
.join('\n')
48-
.replace(/--.*(?:\n|$)|\/\*[\s\S]*?\*\//g, '') // remove single-line comments and multi-line comments
48+
.replace(/--.*(?:\n|$)|\/\*[\s\S]*?\*\//g, ''); // remove single-line comments and multi-line comments
4949

5050
let builder: IDataQueryBuilder | undefined;
5151
// Replace to put the directly query cache builder to original query main builder of "__wrapper__builder",

0 commit comments

Comments
 (0)