Skip to content

Commit

Permalink
Fix absolute paths in sync.js (terkelg#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 20, 2020
1 parent 7e61029 commit b1ee37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let CACHE = {};

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 = fs.readdirSync(dir);
const { dot, filesOnly } = opts;

Expand Down

0 comments on commit b1ee37e

Please sign in to comment.