File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -285,20 +285,13 @@ class StudioActions {
285
285
return actionToProcess ;
286
286
} )
287
287
. then ( ( actionToProcess ) => {
288
- const attemptedEditLabel = getOtherStudioActionLabel ( OtherStudioAction . AttemptedEdit ) ;
289
288
if ( afterUserAction && actionToProcess . errorText !== "" ) {
290
- if ( action . label === attemptedEditLabel ) {
291
- vscode . commands . executeCommand ( "undo" ) ;
292
- }
293
289
outputChannel . appendLine ( actionToProcess . errorText ) ;
294
290
outputChannel . show ( ) ;
295
291
}
296
292
actionToProcess &&
297
293
! afterUserAction &&
298
294
this . processUserAction ( actionToProcess ) . then ( ( answer ) => {
299
- if ( ( action . label = attemptedEditLabel ) && answer !== "1" ) {
300
- vscode . commands . executeCommand ( "undo" ) ;
301
- }
302
295
// call AfterUserAction only if there is a valid answer
303
296
if ( answer ) {
304
297
answer . msg || answer . msg === ""
You can’t perform that action at this time.
0 commit comments