Skip to content

Commit

Permalink
Merge branch 'main' of github.com:halcyon-tech/vscode-db2i
Browse files Browse the repository at this point in the history
  • Loading branch information
worksofliam committed Jan 31, 2025
2 parents f06b369 + d981b57 commit 7151d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/aiProviders/continue/continueContextProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class db2ContextProvider implements IContextProvider {
const result = await selected.job
.query<SelfCodeNode>(content)
.execute(10000);
if (result.success) {
if (result.success && result.data) {
const data: SelfCodeNode[] = result.data.map((row) => ({
...row,
INITIAL_STACK: this.tryParseJson(row),
Expand Down
2 changes: 1 addition & 1 deletion src/views/jobManager/selfCodes/selfCodesResultsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class selfCodesResultsView implements TreeDataProvider<any> {

try {
const result = await selected.job.query<SelfCodeNode>(content).execute(10000);
if (result.success) {
if (result.success && result.data) {
const data: SelfCodeNode[] = result.data.map((row) => ({
...row,
INITIAL_STACK: JSON.parse(row.INITIAL_STACK as unknown as string)
Expand Down

0 comments on commit 7151d67

Please sign in to comment.