File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed 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 {
1155
1155
1156
1156
if ( isUpdatingTest ( runnable ) && ctx . config . askBeforeUpdateTest ) {
1157
1157
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)" ,
1162
1162
) ;
1163
1163
1164
- if ( selection !== ' Update Now' && selection !== ' Update (and Don\ 't ask again)' ) {
1164
+ if ( selection !== " Update Now" && selection !== " Update (and Don't ask again)" ) {
1165
1165
return ;
1166
1166
}
1167
1167
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 ) ;
1170
1170
}
1171
1171
}
1172
1172
You can’t perform that action at this time.
0 commit comments