File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -689,8 +689,7 @@ async function prepareRename(
689689 let params = msg . params as p . PrepareRenameParams ;
690690 let filePath = fileURLToPath ( params . textDocument . uri ) ;
691691
692- // Gate analysis prepareRename behind >= 12.0.0-beta.9
693- // This needs to be adjusted to the actual version prepareRename is released in
692+ // `prepareRename` was introduced in 12.0.0-beta.10
694693 let projectRootPath = utils . findProjectRootOfFile ( filePath ) ;
695694 let rescriptVersion =
696695 ( projectRootPath && projectsFiles . get ( projectRootPath ) ?. rescriptVersion ) ||
@@ -700,7 +699,7 @@ async function prepareRename(
700699 if ( rescriptVersion != null ) {
701700 shouldUsePrepareRenameCommand =
702701 semver . valid ( rescriptVersion ) != null &&
703- semver . satisfies ( rescriptVersion , ">=12.0.0-beta.9 " , {
702+ semver . satisfies ( rescriptVersion , ">=12.0.0-beta.10 " , {
704703 includePrerelease : true ,
705704 } ) ;
706705 }
You can’t perform that action at this time.
0 commit comments