(cwd)
| 204 | |
| 205 | let _instance = null; |
| 206 | function getStore(cwd) { |
| 207 | if (!_instance || (cwd && _instance.cwd !== cwd)) { |
| 208 | _instance = new ContractStore(cwd); |
| 209 | } |
| 210 | return _instance; |
| 211 | } |
| 212 | function resetStore() { _instance = null; } |
| 213 | |
| 214 | module.exports = { ContractStore, getStore, resetStore, STATES, STATUSES }; |
no outgoing calls
no test coverage detected