File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -224,18 +224,12 @@ function showInstallErrorMessage(eventStream: EventStream) {
224
224
function showDotnetToolsWarning ( message : string ) : void {
225
225
const config = vscode . workspace . getConfiguration ( 'csharp' ) ;
226
226
if ( ! config . get ( 'suppressDotnetInstallWarning' , false ) ) {
227
- const getDotNetMessage : ActionOption | Command =
228
- getCSharpDevKit ( ) !== undefined
229
- ? {
230
- title : vscode . l10n . t ( 'Get the SDK' ) ,
231
- command : 'csdevkit.installDotnetSdk' ,
232
- }
233
- : {
234
- title : vscode . l10n . t ( 'Get the SDK' ) ,
235
- action : async ( ) => {
236
- await vscode . env . openExternal ( vscode . Uri . parse ( 'https://dot.net/core-sdk-vscode' ) ) ;
237
- } ,
238
- } ;
227
+ const getDotNetMessage : ActionOption | Command = {
228
+ title : vscode . l10n . t ( 'Get the SDK' ) ,
229
+ action : async ( ) => {
230
+ await vscode . env . openExternal ( vscode . Uri . parse ( 'https://dot.net/core-sdk-vscode' ) ) ;
231
+ } ,
232
+ } ;
239
233
const goToSettingsMessage : ActionOption = {
240
234
title : vscode . l10n . t ( 'Disable message in settings' ) ,
241
235
action : async ( ) => {
You can’t perform that action at this time.
0 commit comments