From 0fddbf6e02bf4773927753e84efb82c5debb5102 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Fri, 7 Nov 2025 07:16:09 -0800 Subject: [PATCH] isUri -> isUriString Avoid accidental auto imports of common function --- src/vs/workbench/contrib/debug/browser/disassemblyView.ts | 4 ++-- src/vs/workbench/contrib/debug/browser/rawDebugSession.ts | 6 +++--- src/vs/workbench/contrib/debug/common/debugSource.ts | 4 ++-- src/vs/workbench/contrib/debug/common/debugUtils.ts | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/vs/workbench/contrib/debug/browser/disassemblyView.ts b/src/vs/workbench/contrib/debug/browser/disassemblyView.ts index 3fabe31ebfa..d6581ff8ae1 100644 --- a/src/vs/workbench/contrib/debug/browser/disassemblyView.ts +++ b/src/vs/workbench/contrib/debug/browser/disassemblyView.ts @@ -41,7 +41,7 @@ import * as icons from './debugIcons.js'; import { CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST, DISASSEMBLY_VIEW_ID, IDebugConfiguration, IDebugService, IDebugSession, IInstructionBreakpoint, State } from '../common/debug.js'; import { InstructionBreakpoint } from '../common/debugModel.js'; import { getUriFromSource } from '../common/debugSource.js'; -import { isUri, sourcesEqual } from '../common/debugUtils.js'; +import { isUriString, sourcesEqual } from '../common/debugUtils.js'; import { IEditorService } from '../../../services/editor/common/editorService.js'; import { IEditorGroup } from '../../../services/editor/common/editorGroupsService.js'; import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.js'; @@ -956,7 +956,7 @@ class InstructionRenderer extends Disposable implements ITableRenderer 0) { // if there is a source reference, don't touch path } else { - if (isUri(source.path)) { + if (isUriString(source.path)) { return uri.parse(source.path); } else { // assume path