Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed May 26, 2023
1 parent 545bd13 commit 4e90036
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions typescript/src/codeActions/decorateProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,7 @@ export default (proxy: ts.LanguageService, languageService: ts.LanguageService,
return edit
}
if (refactorName === 'Extract Symbol' && actionName.startsWith('function_scope')) {
const handledResult = handleFunctionRefactorEdits(
actionName,
languageService,
fileName,
formatOptions,
positionOrRange,
refactorName,
preferences,
...args,
)
const handledResult = handleFunctionRefactorEdits(actionName, languageService, fileName, formatOptions, positionOrRange, refactorName, preferences)
if (handledResult) return handledResult
}
const prior = languageService.getEditsForRefactor(fileName, formatOptions, positionOrRange, refactorName, actionName, preferences, ...args)
Expand Down

0 comments on commit 4e90036

Please sign in to comment.