Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatters:chore - remove unused methods from IService #912

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

matheusalcantarazup
Copy link
Contributor

Since the GetCommitAuthor was just being used internally by
IService implementation there's no reason to keep this method, and as
pointed by @iancardosozup, on GetProjectPathWithWorkDir docs, their
usage can be simple changed by a filepath.Join call, so this method was
removed too.

Signed-off-by: Matheus Alcantara matheus.alcantara@zup.com.br

- What I did

- How to verify it

- Description for the changelog

Since the `GetCommitAuthor` was just being used internally by
IService implementation there's no reason to keep this method, and as
pointed by @iancardosozup, on `GetProjectPathWithWorkDir` docs, their
usage can be simple changed by a `filepath.Join` call, so this method was
removed too.

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
@matheusalcantarazup matheusalcantarazup merged commit 802f0c4 into main Jan 6, 2022
@matheusalcantarazup matheusalcantarazup deleted the remove-dead-code branch January 6, 2022 13:14
nathanmartinszup pushed a commit that referenced this pull request Apr 4, 2022
Since the `GetCommitAuthor` was just being used internally by
IService implementation there's no reason to keep this method, and as
pointed by @iancardosozup, on `GetProjectPathWithWorkDir` docs, their
usage can be simple changed by a `filepath.Join` call, so this method was
removed too.

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
(cherry picked from commit 802f0c4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants