Closed visualcookie closed 5 years ago
Can you please try out using the hotfix branch (#10)?
Tried out the hotfix and getting the following error now:
$ flow-cov
An error happened, while executing `flow-cov`:
TypeError: Cannot read property 'split' of undefined
(node:79178) UnhandledPromiseRejectionWarning: Error: TypeError: Cannot read property 'split' of undefined
at logError (/Users/xxx/Fintory/xxx/node_modules/flow-cov/bin/utils/logError.js:31:9)
at run (/Users/xxx/Fintory/xxx/node_modules/flow-cov/bin/index.js:28:12)
at Object.<anonymous> (/Users/xxx/Fintory/xxx/node_modules/flow-cov/bin/index.js:32:1)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
(node:79178) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:79178) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Just renamed the issue to cover the actual failure
Recent change does not fail anymore. 👍
When running flow-cov it throws an unhandled promise rejection error.
Actual error from the log: