Closed xaviatwork closed 1 year ago
Nevermind... The function writeStatusToAllowTenantBinding(service)
in the handlers.js
file seems the one not handling the path properly:
const write = Deno.writeTextFile(`./instances/${service.instance.serviceInstanceId}/status.yml`
When running the
unipipe transform
command,--registry-of-handlers
accepts an arbitrary path, but the second parameter, which AFAIK is the path to theinstances/
folder, makesunipipe transform
fail:If the
instances/
folder is present in the current directory, then it works (even if the location of thehandler.js
file is at an arbitrary path:I am using unipipe CLI version 1.7.6.