We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56ff93 commit 2cc4096Copy full SHA for 2cc4096
Sources/CommitPrefix/CommitMessageHook.swift
@@ -181,6 +181,7 @@ public struct CommitMessageHook {
181
print("Overwritting existing commit-msg with generated hook")
182
183
do {
184
+ // TODO: - Theres a case where the file is not executable in the first place this will not correct that
185
try commitHookFile.write(contents, encoding: .utf8)
186
} catch {
187
throw CPError.hookReadWriteError
0 commit comments