(data, k, val)
| 34 | nopt.typeDefs.gitUrl = { |
| 35 | type: 'gitUrl', |
| 36 | validate(data, k, val) { |
| 37 | if (isGitRepo(val)) { |
| 38 | data[k] = val; |
| 39 | return true; |
| 40 | } else { |
| 41 | return false; |
| 42 | } |
| 43 | }, |
| 44 | }; |
| 45 | |
| 46 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…