OSC / ood-fileexplorer

[MOVED] The Open OnDemand File Explorer
https://osc.github.io/Open-OnDemand/
MIT License
4 stars 1 forks source link

Fixes #169: crash when git folder missing #172

Closed brianmcmichael closed 6 years ago

brianmcmichael commented 6 years ago

Fixes #169

Moves the gitSync command to a try/catch to prevent a crash when git folder is missing.

There may be a performance boost afforded by checking to see if a /.git folder exists before attempting the try/catch. But this is the simplest solution for now.