update notes
This commit is contained in:
parent
347ceb86e1
commit
91ff047c97
2 changed files with 5 additions and 13 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue