cybergis / cybergis-compute-core

Apache License 2.0
7 stars 6 forks source link

update to GitUtil.ts to avoid crashes #82

Closed alexandermichels closed 1 year ago

alexandermichels commented 1 year ago

This PR attempts to resolve #67, #79, and a few other small issues with GitUtil like it panicking if the manifest.json gets deleted.

Main Changes:

I believe including the if (git.sha) code in the Try block will solve #67 and #79 will hopefully be solved by the "how long since updated" check, but we are waiting to hear back from the person who reported the bug to do extensive testing.