-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix issues #355
fix: fix issues #355
Conversation
app/stores/console.ts
Outdated
@@ -10,7 +10,7 @@ export const splitQuery = (query: string) => { | |||
const { gqlList, paramList } = acc; | |||
const line = cur.trim(); | |||
if(line.startsWith(':')) { | |||
paramList.push(line); | |||
paramList.push(line.replace(/;?$/gm, '')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary ?
isSErr := isSessionError(err) | ||
if isSErr { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isSErr
seems strange, better to make it one line
if isSessionError(err) {}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix: issues * mod: code review
* fix: issues * mod: code review Co-authored-by: Nut He <[email protected]>
fix #350
fix the problem that the import task log is messed up
fix parameter in console