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) {
224224function showDotnetToolsWarning ( message : string ) : void {
225225 const config = vscode . workspace . getConfiguration ( 'csharp' ) ;
226226 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+ } ;
239233 const goToSettingsMessage : ActionOption = {
240234 title : vscode . l10n . t ( 'Disable message in settings' ) ,
241235 action : async ( ) => {
You can’t perform that action at this time.
0 commit comments