File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class SchedulerWatcherCommandCheckLastRun extends Command {
14
14
*
15
15
* @var string
16
16
*/
17
- protected $ signature = 'scheduler-watcher:checklastevent {jobMD5} {--no-ansi } ' ;
17
+ protected $ signature = 'scheduler-watcher:checklastevent {jobMD5} {--noansi } ' ;
18
18
19
19
/**
20
20
* The console command description.
@@ -51,7 +51,7 @@ public function handle() {
51
51
$ job_output = job_event_outputs::whereJoboJobeId ($ last_job_events ->jobe_id )->first ('jobo_output ' );
52
52
$ output = "Last exitcode from job: " .$ job ->job_name .': [ ' .$ last_job_events ->jobe_exitcode .'] - last output: ' ;
53
53
if ($ job_output ) {
54
- if ($ this ->option ('no-ansi ' )) {
54
+ if ($ this ->option ('noansi ' )) {
55
55
/**
56
56
* @see https://stackoverflow.com/a/40731340/1092858
57
57
*/
@@ -70,7 +70,7 @@ public function handle() {
70
70
* @param int $exitcode
71
71
*/
72
72
private function echo ($ str , $ type =null , $ exitcode =0 ):void {
73
- if ($ this ->option ('no-ansi ' )) {
73
+ if ($ this ->option ('noansi ' )) {
74
74
echo $ str ;
75
75
} else {
76
76
switch ($ exitcode ) {
You can’t perform that action at this time.
0 commit comments