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 {
1414 *
1515 * @var string
1616 */
17- protected $ signature = 'scheduler-watcher:checklastevent {jobMD5} {--no-ansi } ' ;
17+ protected $ signature = 'scheduler-watcher:checklastevent {jobMD5} {--noansi } ' ;
1818
1919 /**
2020 * The console command description.
@@ -51,7 +51,7 @@ public function handle() {
5151 $ job_output = job_event_outputs::whereJoboJobeId ($ last_job_events ->jobe_id )->first ('jobo_output ' );
5252 $ output = "Last exitcode from job: " .$ job ->job_name .': [ ' .$ last_job_events ->jobe_exitcode .'] - last output: ' ;
5353 if ($ job_output ) {
54- if ($ this ->option ('no-ansi ' )) {
54+ if ($ this ->option ('noansi ' )) {
5555 /**
5656 * @see https://stackoverflow.com/a/40731340/1092858
5757 */
@@ -70,7 +70,7 @@ public function handle() {
7070 * @param int $exitcode
7171 */
7272 private function echo ($ str , $ type =null , $ exitcode =0 ):void {
73- if ($ this ->option ('no-ansi ' )) {
73+ if ($ this ->option ('noansi ' )) {
7474 echo $ str ;
7575 } else {
7676 switch ($ exitcode ) {
You can’t perform that action at this time.
0 commit comments