(path, transformedValue)
| 4591 | } |
| 4592 | |
| 4593 | function throwErrorIfPromise(path, transformedValue) { |
| 4594 | if (isPromise(transformedValue)) { |
| 4595 | throw new Error('`transform` function must be synchronous, but the transform on path `' + path + '` returned a promise.'); |
| 4596 | } |
| 4597 | } |
| 4598 | |
| 4599 | /*! |
| 4600 | * ignore |
no test coverage detected