Skip to content

Commit

Permalink
fix: absolute paths (terkelg#41)
Browse files Browse the repository at this point in the history
* Update index.js

* Update index.js

Co-Authored-By: ForsakenHarmony <me@hrmny.sh>
  • Loading branch information
ForsakenHarmony authored and lukeed committed Feb 23, 2019
1 parent 5b5f85f commit c532217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let CACHE = {};

async function walk(output, prefix, lexer, opts, dirname='', level=0) {
const rgx = lexer.segments[level];
const dir = join(opts.cwd, prefix, dirname);
const dir = resolve(opts.cwd, prefix, dirname);
const files = await readdir(dir);
const { dot, filesOnly } = opts;

Expand Down

0 comments on commit c532217

Please sign in to comment.