Skip to content

Commit d4a87a7

Browse files
sunchanglongsunng87
authored andcommitted
fix: sql format error
1 parent 3b291b6 commit d4a87a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/query-code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default function useQueryCode() {
9595
pushLog(res.log, type)
9696
}
9797
if (!res.error && type === 'sql') {
98-
const sql = sqlFormatter(code)
98+
const sql = code
9999
const command = parseSqlCommand(sql)
100100

101101
if (command) {

0 commit comments

Comments
 (0)