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(
689
689
let params = msg . params as p . PrepareRenameParams ;
690
690
let filePath = fileURLToPath ( params . textDocument . uri ) ;
691
691
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
694
693
let projectRootPath = utils . findProjectRootOfFile ( filePath ) ;
695
694
let rescriptVersion =
696
695
( projectRootPath && projectsFiles . get ( projectRootPath ) ?. rescriptVersion ) ||
@@ -700,7 +699,7 @@ async function prepareRename(
700
699
if ( rescriptVersion != null ) {
701
700
shouldUsePrepareRenameCommand =
702
701
semver . valid ( rescriptVersion ) != null &&
703
- semver . satisfies ( rescriptVersion , ">=12.0.0-beta.9 " , {
702
+ semver . satisfies ( rescriptVersion , ">=12.0.0-beta.10 " , {
704
703
includePrerelease : true ,
705
704
} ) ;
706
705
}
You can’t perform that action at this time.
0 commit comments