Skip to content

Commit d56ff93

Browse files
committed
[CPFeature-002] Forgot to make the cpVersion static
1 parent a089cf2 commit d56ff93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/CommitPrefix/CommitMessageHook.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ import Foundation
2929

3030
public struct CommitMessageHook {
3131

32-
private let cpVersionNumber = "1.0.0"
32+
private static let cpVersionNumber = "1.0.0"
3333

34-
private let fileIdentifier = "Created by CommitPrefix \(cpVersionNumber)"
34+
private let fileIdentifier = "Created by CommitPrefix \(Self.cpVersionNumber)"
3535

3636
private let hooksDirectory: Folder
3737

0 commit comments

Comments
 (0)