Remove circular dependency, avoid adding 2 new ones

This commit is contained in:
Frank Noirot
2025-07-03 09:10:48 -04:00
parent 4b00d00977
commit 40388b80e7
13 changed files with 39 additions and 13 deletions

View File

@ -52,6 +52,7 @@ export function useConvertToVariable(range?: SourceRange) {
try {
const { variableName } = await getVarNameModal({
valueName: valueName || 'var',
selectionRanges: context.selectionRanges,
})
const { modifiedAst: _modifiedAst, pathToReplacedNode } =