Skip to content
Commit 265ff02a authored by anarcat's avatar anarcat
Browse files

don't allow d() to run before drush is fully initialized

we add safety check so that we don't get caught running d() before
drush is fully initialized. otherwise, the proper services hooks may
not be properly declared and found by drush, so the object cache
($instances) would be initialised with incomplete data.

it is possible that more initialisation we need happens after
DRUSH_BOOTSTRAP_NONE, but this is already better than nothing.

it took me and ergonlogic three freaking full days of headbanging on
keyboards to figure that stuff out.
parent de531c26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment