Skip to content

Commit dcfa9b9

Browse files
authored
Remove commented out code (#247147)
1 parent 7097d6a commit dcfa9b9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/vs/workbench/contrib/chat/common/chatModel.ts

-16
Original file line numberDiff line numberDiff line change
@@ -1449,22 +1449,6 @@ export class ChatModel extends Disposable implements IChatModel {
14491449
this._editingSession = new ObservablePromise(editingSessionPromise);
14501450
this._editingSession.promise.then(editingSession => {
14511451
this._store.isDisposed ? editingSession.dispose() : this._register(editingSession);
1452-
1453-
// const currentStates = new ResourceMap<ModifiedFileEntryState>();
1454-
// this._register(autorun(r => {
1455-
// editingSession.entries.read(r).forEach(entry => {
1456-
// const state = entry.state.read(r);
1457-
// if (state !== currentStates.get(entry.modifiedURI)) {
1458-
// currentStates.set(entry.modifiedURI, state);
1459-
// if (state === ModifiedFileEntryState.Rejected) {
1460-
// this.currentWorkingSetEntries.push({
1461-
// uri: entry.modifiedURI,
1462-
// state: ChatAgentWorkingSetEntryState.Rejected
1463-
// });
1464-
// }
1465-
// }
1466-
// });
1467-
// }));
14681452
});
14691453
}
14701454

0 commit comments

Comments
 (0)