From e7fedb3c5157fa6502352e0e3d7a71bca08ac59f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 11 Mar 2017 00:37:00 -0500 Subject: [PATCH] Removes unnecessary public --- src/commands/closeUnchangedFiles.ts | 2 +- src/commands/copyMessageToClipboard.ts | 2 +- src/commands/copyShaToClipboard.ts | 2 +- src/commands/diffDirectory.ts | 2 +- src/commands/openChangedFiles.ts | 2 +- src/commands/showQuickRepoHistory.ts | 2 +- src/commands/showQuickRepoStatus.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/commands/closeUnchangedFiles.ts b/src/commands/closeUnchangedFiles.ts index b8eb1a6..aaa08ee 100644 --- a/src/commands/closeUnchangedFiles.ts +++ b/src/commands/closeUnchangedFiles.ts @@ -9,7 +9,7 @@ import * as path from 'path'; export class CloseUnchangedFilesCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.CloseUnchangedFiles); } diff --git a/src/commands/copyMessageToClipboard.ts b/src/commands/copyMessageToClipboard.ts index c4eff97..8728298 100644 --- a/src/commands/copyMessageToClipboard.ts +++ b/src/commands/copyMessageToClipboard.ts @@ -8,7 +8,7 @@ import { copy } from 'copy-paste'; export class CopyMessageToClipboardCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.CopyMessageToClipboard); } diff --git a/src/commands/copyShaToClipboard.ts b/src/commands/copyShaToClipboard.ts index 5d6dd03..75327de 100644 --- a/src/commands/copyShaToClipboard.ts +++ b/src/commands/copyShaToClipboard.ts @@ -8,7 +8,7 @@ import { copy } from 'copy-paste'; export class CopyShaToClipboardCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.CopyShaToClipboard); } diff --git a/src/commands/diffDirectory.ts b/src/commands/diffDirectory.ts index 0efc48b..1cb093f 100644 --- a/src/commands/diffDirectory.ts +++ b/src/commands/diffDirectory.ts @@ -6,7 +6,7 @@ import { Logger } from '../logger'; export class DiffDirectoryCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.DiffDirectory); } diff --git a/src/commands/openChangedFiles.ts b/src/commands/openChangedFiles.ts index bbf2524..b42defd 100644 --- a/src/commands/openChangedFiles.ts +++ b/src/commands/openChangedFiles.ts @@ -7,7 +7,7 @@ import * as path from 'path'; export class OpenChangedFilesCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.OpenChangedFiles); } diff --git a/src/commands/showQuickRepoHistory.ts b/src/commands/showQuickRepoHistory.ts index 9652006..3baf038 100644 --- a/src/commands/showQuickRepoHistory.ts +++ b/src/commands/showQuickRepoHistory.ts @@ -7,7 +7,7 @@ import { CommandQuickPickItem, RepoHistoryQuickPick } from '../quickPicks'; export class ShowQuickRepoHistoryCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.ShowQuickRepoHistory); } diff --git a/src/commands/showQuickRepoStatus.ts b/src/commands/showQuickRepoStatus.ts index 33f46b2..3c3d0b1 100644 --- a/src/commands/showQuickRepoStatus.ts +++ b/src/commands/showQuickRepoStatus.ts @@ -7,7 +7,7 @@ import { CommandQuickPickItem, RepoStatusQuickPick } from '../quickPicks'; export class ShowQuickRepoStatusCommand extends ActiveEditorCommand { - constructor(private git: GitProvider, public repoPath: string) { + constructor(private git: GitProvider, private repoPath: string) { super(Commands.ShowQuickRepoStatus); }