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
Hi, the dart sdk v1.14.0 returns a Null now instead of empty string, for packageRoot.
I just updated my local copy of standalone.dart to test for null first and it work fine now.
if (packageRoot != null && packageRoot.isNotEmpty && p.startsWith(_packagesPrefix)) {
Next time someone does an update, maybe they could look at this.
Hey @srawlins thanks for looking at this, but
problem is not fixed, standalone.dart still has packageRoot.isNotEmpty at line 48 and 70.
It's the test to see if packageRoot is empty or not, issue is it has change form empty string to a null.
So needs a packageRoot != null test or something.
Edit: this should work and current and older api
if ((packageRoot??'').isNotEmpty && p.startsWith(_packagesPrefix)) {
Copied from localvoid/issues/6:
@sebe:
The text was updated successfully, but these errors were encountered: