update notes

This commit is contained in:
Stewart Allen 2022-02-12 10:58:54 -05:00
commit 91ff047c97
2 changed files with 5 additions and 13 deletions

View file

@ -69,7 +69,7 @@ let exports_save = exports,
let fetch = function(url, opts = {}) {
if (verbose) console.log({fetch: url});
if (!url.startsWith('/')) {
url = `${dir}/${url}`;
url = `${dir}/${url}`;
}
let buf = fs.readFileSync(url);
return new Promise((resolve, reject) => {