Skip to content
Snippets Groups Projects
Commit e8785ded authored by Robert Speicher's avatar Robert Speicher
Browse files

Prevent StateMachine warnings from outputting during a cron task

[ci skip]

Closes #5931
parent 8a028cf3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,6 +4,9 @@ end
 
String.disable_colorization = true unless STDOUT.isatty
 
# Prevent StateMachine warnings from outputting during a cron task
StateMachines::Machine.ignore_method_conflicts = true if ENV['CRON']
namespace :gitlab do
 
# Ask if the user wants to continue
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment