File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class StudioActions {
9797 . showWarningMessage ( target , { modal : true } , "Yes" , "No" )
9898 . then ( ( answer ) => ( answer === "Yes" ? "1" : answer === "No" ? "0" : "2" ) ) ;
9999 case 2 : // Run a CSP page/Template. The Target is the full url to the CSP page/Template
100- return new Promise ( resolve => {
100+ return new Promise ( ( resolve ) => {
101101 let answer = "2" ;
102102 const conn = config ( ) . conn ;
103103 const column = vscode . window . activeTextEditor ? vscode . window . activeTextEditor . viewColumn : undefined ;
@@ -362,7 +362,7 @@ class StudioActions {
362362 }
363363}
364364
365- export async function mainMenu ( uri ?: vscode . Uri ) {
365+ export async function mainMenu ( uri ?: vscode . Uri ) : Promise < any > {
366366 uri = uri || vscode . window . activeTextEditor ?. document . uri ;
367367 if ( uri && uri . scheme !== FILESYSTEM_SCHEMA ) {
368368 return ;
@@ -380,7 +380,7 @@ export async function contextMenu(node: PackageNode | ClassNode | RoutineNode):
380380 return studioActions && studioActions . getMenu ( "" , true ) ;
381381}
382382
383- export async function fireOtherStudioAction ( action : OtherStudioAction , uri ?: vscode . Uri ) {
383+ export async function fireOtherStudioAction ( action : OtherStudioAction , uri ?: vscode . Uri ) : Promise < void > {
384384 const studioActions = new StudioActions ( uri ) ;
385385 return studioActions && studioActions . fireOtherStudioAction ( action ) ;
386386}
You can’t perform that action at this time.
0 commit comments