It's kind of ugly to always see the full module code if you write your module to the disk, so hide it

CommentFileSizeAuthor
#1 1365350.patch784 bytesdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

FileSize
784 bytes

Here is the patch

joachim’s picture

Status: Needs review » Needs work
+++ b/drush/module_builder.drush.inc
@@ -494,15 +494,15 @@ function module_builder_build_info($commands, $module_data) {
+  if (!drush_get_option('quiet') && $write) {

It's early in the morning but that seems to be the wrong way round to me.

Shouldn't it be 'if not quiet and not write', or more readable, 'if not (quiet or write)'?