()
| 207 | } |
| 208 | |
| 209 | function releaseLock() { |
| 210 | try { |
| 211 | fs.rmdirSync(LOCK_PATH); |
| 212 | } catch { |
| 213 | // Already released or removed as stale by another process. |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | // -- Git helpers -------------------------------------------------------------- |
| 218 |