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
returndrush_set_error(dt('No outputformat class defined for !format', array('!format' => $format)));
469
472
}
470
-
if (!in_array($formatter->selected_engine, $command['engines']['outputformat']['usable'])) {
473
+
if ((!empty($command['engines']['outputformat'])) && (!in_array($formatter->selected_engine, $command['engines']['outputformat']['usable']))) {
471
474
return$formatter->format_error(dt("The command '!command' does not produce output in a structure usable by this output format.", array('!command' => $command['command'])));
472
475
}
473
476
// Add any user-specified options to the metadata passed to the formatter.
0 commit comments