Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
Remove temp notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-roemer committed Jun 2, 2021
1 parent 012f8e9 commit d23ec56
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,21 +218,6 @@ const _resolveDep = async ({
return resolve(depName, {
basedir,
extensions: RESOLVE_EXTS,
// TODO: Memoize this???
// readPackage: (readFile, pkgfile, cb) => {
// console.log("TODO readPackage", { readFile, pkgfile, cb })
// readFile(pkgfile, function (readFileErr, body) {
// if (readFileErr) cb(readFileErr);
// else {
// try {
// var pkg = JSON.parse(body);
// cb(null, pkg);
// } catch (jsonErr) {
// cb(null);
// }
// }
// });
// },
packageIterator: (request, start, opts) => {
const dirs = opts();

Expand Down

0 comments on commit d23ec56

Please sign in to comment.