The "OA_Sources" job from this weekend failed with:
[Error: ENOENT: no such file or directory, open '/usr/local/src/batch/https:/api.github.com/repos/openaddresses/openaddresses/commits/master/openaddresses.zip'] {
--
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/usr/local/src/batch/https:/api.github.com/repos/openaddresses/openaddresses/commits/master/openaddresses.zip'
}
I think this happened because the call to fetch() in get_sha() (here) was calling the fetch() in the file instead of the built-in fetch() HTTP client.
This renames that fetch() to something else so that it doesn't shadow the built-in.
The "OA_Sources" job from this weekend failed with:
I think this happened because the call to
fetch()
inget_sha()
(here) was calling thefetch()
in the file instead of the built-infetch()
HTTP client.This renames that
fetch()
to something else so that it doesn't shadow the built-in.