Skip to content

Commit cd75870

Browse files
authored
fix: bad merge caused build failure (#1375)
Because 12.0.x and master diverged a little for renaming implementation the change to return null instead of undefined caused a build error in the patch branch.
1 parent 98d5c97 commit cd75870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ export class Session {
832832
// Because we cannot ensure our extension is prioritized for renames in TS files (see
833833
// https://github.com/microsoft/vscode/issues/115354) we disable renaming completely so we can
834834
// provide consistent expectations.
835-
return;
835+
return null;
836836
}
837837
const project = this.getDefaultProjectForScriptInfo(scriptInfo);
838838
if (project === undefined || this.renameDisabledProjects.has(project)) {

0 commit comments

Comments
 (0)