Skip to content

Commit e11c731

Browse files
committed
Remove unused parameter
1 parent 51fcf39 commit e11c731

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/commands/triggerWorkflowRun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function registerTriggerWorkflowRun(context: vscode.ExtensionContext) {
3838
return;
3939
}
4040

41-
const workflow = await parseWorkflowFile(workflowUri, gitHubRepoContext);
41+
const workflow = await parseWorkflowFile(workflowUri);
4242
if (!workflow) {
4343
return;
4444
}

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function activate(context: vscode.ExtensionContext) {
4242
initResources(context);
4343
initConfiguration(context);
4444

45-
// Track workflow documents and the workspace
45+
// Track workflow documents and workspace changes
4646
initWorkspaceChangeTracker(context);
4747
await initWorkflowDocumentTracking(context);
4848

src/workflow/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function getWorkflowUri(gitHubRepoContext: GitHubRepoContext, path: strin
5858
return vscode.Uri.joinPath(gitHubRepoContext.workspaceUri, path);
5959
}
6060

61-
export async function parseWorkflowFile(uri: vscode.Uri, _: GitHubRepoContext): Promise<WorkflowTemplate | undefined> {
61+
export async function parseWorkflowFile(uri: vscode.Uri): Promise<WorkflowTemplate | undefined> {
6262
try {
6363
const b = await vscode.workspace.fs.readFile(uri);
6464
const workflowInput = new TextDecoder().decode(b);

0 commit comments

Comments
 (0)