Skip to content

Commit 8b1561d

Browse files
Modify method naming
1 parent e84063d commit 8b1561d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/git-repo-dir.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ export class GitRepoDir {
66
private readonly dirPath: string
77

88
constructor(dirPath: string) {
9-
this.checkPath(dirPath)
9+
this.validatePath(dirPath)
1010
this.dirPath = this.normalizePath(dirPath)
1111
}
1212

13-
checkPath(dirPath): void {
13+
validatePath(dirPath): void {
1414
if (!existsSync(dirPath)) {
1515
throw new GitDirNotFoundError(dirPath)
1616
}

0 commit comments

Comments
 (0)