Javascript – Exporting function(s) does not make it available in other module
I'm trying to use the retrieve_endpoints function in cli_config.js. I added the functions to the module exports and added the require in the cli_config file. Why can't I seem to call the retrieve_endpoints function? collector.js async function retrieve_endpoints(enviromnent) { let…