Skip to content

Conversation

@BeA-Pro
Copy link
Contributor

@BeA-Pro BeA-Pro commented Sep 29, 2024

Related issue

Result

#713 에서 말씀하신 요구사항을 적용하였습니다.

Work list

  • getLogCount의 코드의 가독성과 유지 보수성 향상
  • pakages/vscode/webpack.config.js 주석 제거
  • packages/vscode/src/extension.ts 주석 제거

@BeA-Pro BeA-Pro requested review from a team as code owners September 29, 2024 09:03
Copy link
Contributor

@ytaek ytaek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!
리뷰 커멘트 확인 부탁드립니다!

}

export async function getLogCount(gitPath: string, currentWorkspacePath: string): Promise<number> {
const decimal = 10;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변수의 이름은 변수의 실제 역할로 표현하는 것이 좋을 것 같습니다.
여기서는 값을 뜻하는 decimal 보다는
10이 어떤 역할을 하는 변수인지 표현하면 더 좋겠네요!

@BeA-Pro
Copy link
Contributor Author

BeA-Pro commented Oct 1, 2024

decimalBASE_10으로 변경하였습니다.
이는 parseInt에서 문자열을 10진법으로 변경하는데 사용되므로 10진수로 변환하고 있다는 것을 코드에서 좀 더 명확하게 드러냈습니다.

@BeA-Pro BeA-Pro merged commit bfaee30 into githru:feature/712 Oct 1, 2024
@BeA-Pro BeA-Pro self-assigned this Oct 6, 2024
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.

2 participants