ioBroker / ioBroker.repositories

Repositories for ioBroker project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL dependency missing

klein0r opened this issue · comments

npm run addToLatest -- --name youtube --type misc-data

leads to

ERROR: URL is not defined @ https://github.com/ioBroker/ioBroker.repositories/blob/master/lib/scripts.js#L440

I've added const URL = require('url').URL; to the requirements and it worked.
Please add this dependency (if this is the correct solution).

I wonder why that worked locally without the require. PR created. Thanks for the report!