When issuing drush make-generate without filename it exits rude
WD php: Warning: Missing argument 1 for drush_drush_make_make_generate() in drush_drush_make_make_generate() (line 408 of ..../.drush/drush_make/drush_make.drush.inc). [warning]
...
WD php: Warning: file_put_contents(): Filename cannot be empty in _drush_make_generate() (line 109 of .../.drush/drush_make/drush_make.generate.inc). [warning]
Unable to write .make file <em class="placeholder"></em> [error]
Missing argument 1 for drush_drush_make_make_generate() in drush_drush_make_make_generate() (line 408 of .../.drush/drush_make/drush_make.drush.inc). [warning]
Deprecated function: Function split() is deprecated in _drush_make_generate() (line 18 of .../.drush/drush_make/drush_make.generate.inc). [error]
Deprecated function: Function split() is deprecated in _drush_make_generate() (line 18 of .../.drush/drush_make/drush_make.generate.inc). [error]
file_put_contents(): Filename cannot be empty in _drush_make_generate() (line 109 of .../.drush/drush_make/drush_make.generate.inc). [warning]
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | nicer-generate-1206286-1.patch | 1.04 KB | clemens.tolboom |
Comments
Comment #1
clemens.tolboomPatch prevent scanning for project versions by bailing out early when missing $file
Comment #2
dmitrig01 commentedI've committed this to 2.x, but it would be good to get this in 3.x as well, so I'm leaving this issue open until I get back to committing this to 3.x.
Comment #3
dmitrig01 commented