Skip to content

Commit bf89b84

Browse files
committed
Fix some CI linting failures
1 parent 6837229 commit bf89b84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/studio.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)