This seems to have been big mystery for many developers
This fixes two problems that were preventing `testling -u` from working. 1) Need parens with the ternary operator to make it do what you were actually intending. 2) Check for -u argument first so that the “friendly message” doesn’t terminate the process early. This bug was introduced here: 9aa50c4 d8491a2b891a
The "scripts" option requires the unglob() callback to run. It was being executed too soon, so the `scripts` variable wasn't populated when getHTML was called.
Inside getHTML there's a `bundle === undefined` test; since a package.json which used the 'scripts' option wasn't setting bundle, HTML generation was being (infinitely) deferred.