File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/tools/rust-analyzer/editors/code/src Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1155,18 +1155,18 @@ export function runSingle(ctx: CtxInit): Cmd {
11551155
11561156 if ( isUpdatingTest ( runnable ) && ctx . config . askBeforeUpdateTest ) {
11571157 const selection = await vscode . window . showInformationMessage (
1158- ' rust-analyzer' ,
1159- { detail : ' Do you want to update tests?' , modal : true } ,
1160- ' Update Now' ,
1161- ' Update (and Don\ 't ask again)' ,
1158+ " rust-analyzer" ,
1159+ { detail : " Do you want to update tests?" , modal : true } ,
1160+ " Update Now" ,
1161+ " Update (and Don't ask again)" ,
11621162 ) ;
11631163
1164- if ( selection !== ' Update Now' && selection !== ' Update (and Don\ 't ask again)' ) {
1164+ if ( selection !== " Update Now" && selection !== " Update (and Don't ask again)" ) {
11651165 return ;
11661166 }
11671167
1168- if ( selection === ' Update (and Don\ 't ask again)' ) {
1169- ctx . config . setAskBeforeUpdateTest ( false ) ;
1168+ if ( selection === " Update (and Don't ask again)" ) {
1169+ await ctx . config . setAskBeforeUpdateTest ( false ) ;
11701170 }
11711171 }
11721172
You can’t perform that action at this time.
0 commit comments