Skip to content

Commit

Permalink
refactor(LoadMoreCodeLens): define property in constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Dec 27, 2024
1 parent e2d3f08 commit 0cd02bf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/zowe-explorer/src/trees/shared/SharedUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ import { SharedContext } from "./SharedContext";
import { Definitions } from "../../configuration/Definitions";

export class LoadMoreCodeLens implements vscode.CodeLensProvider {
private commandId: string;

public constructor(commandId: string) {
this.commandId = commandId;
}
public constructor(private commandId: string) {}

public provideCodeLenses(document: vscode.TextDocument, token: vscode.CancellationToken): vscode.ProviderResult<vscode.CodeLens[]> {
const lineCount = document.lineCount;
Expand Down

0 comments on commit 0cd02bf

Please sign in to comment.