HipsterBrown / xs-dev

The quickest way for getting started with JS on devices
https://xs-dev.js.org
MIT License
37 stars 13 forks source link

fix: remove dep on debug tools dir, ignore empty git tag #142

Closed HipsterBrown closed 1 year ago

HipsterBrown commented 1 year ago

When working with a custom branch of the Moddable SDK, the xs-dev doctor / xs-dev info command doesn't always detect git tags for determining the version of the SDK being used. This patch ensures the fallback branch and commit detection works for the SDK version as well.

In newer releases of the SDK, the debug tools are not always available or built by default. So this patch also removes the strict detection of that tools directory for determining if the SDK has been set up correctly.