You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you forget to add a relevant gitmoji? (see https://gitmoji.dev/ for tools)
34
+
In this project, a Gitmoji must be the first grapheme of the commit message.
35
+
What's a grapheme?
36
+
A symbol rendered to be visually identifiable as a single character, but which may be composed of multiple Unicode code points)
37
+
Must match: #{Gitmoji::Regex::REGEX}
38
+
#{"Found a gitmoji at character index #{gitmoji_index}... not good enough.\n"ifgitmoji_index}
39
+
Example: git commit -m "✨ My excellent new feature"
40
+
41
+
EOM
42
42
putsdenied
43
-
exit1
43
+
exit(1)
44
44
end
45
45
rescueLoadError=>e
46
-
warn("gitmoji-regex gem not found: #{e.class}: #{e.message}.\n\tSkipping gitmoji check and allowing commit to proceed.\n\tRecommendation: add 'gitmoji-regex' to your development dependencies to enable this check.")
47
-
exit0
46
+
failure=<<~EOM
47
+
gitmoji-regex gem not found: #{e.class}: #{e.message}.
48
+
Skipping gitmoji check and allowing commit to proceed.
49
+
Recommendation: add 'gitmoji-regex' to your development dependencies to enable this check.
raise "direnv not found. Local development of this project ($PROJECT_ROOT) with tools from the kettle-dev gem may not work properly. Please run 'brew install direnv'."
19
-
fi
6
+
# We are not using direnv exec here because mise and direnv can result in conflicting PATH settings:
0 commit comments