Skip to content

Commit 0079bcf

Browse files
committed
Adressing @connor4312 comment
1 parent d93f891 commit 0079bcf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/adapter/objectPreview/contexts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const hover: IPreviewContext = {
4242
};
4343
const copy: IPreviewContext = { budget: Infinity, quoted: false };
4444
const watch: IPreviewContext = { budget: 1000, quoted: true, postProcess: escape };
45-
const fallback: IPreviewContext = { budget: 100, quoted: true };
45+
const fallback: IPreviewContext = { budget: Infinity, quoted: true };
4646

4747
export const getContextForType = (type: PreviewContextType | string | undefined) => {
4848
switch (type) {

src/adapter/threads.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,6 @@ export class Thread implements IVariableStoreLocationProvider {
529529
);
530530
}
531531

532-
if (args.context == undefined) args.context = 'watch';
533-
534532
const variable = await variableStore
535533
.createFloatingVariable(response.result)
536534
.toDap(args.context as PreviewContextType, args.format);

0 commit comments

Comments
 (0)