Skip to content

Commit 6ba524d

Browse files
authored
Merge pull request #5 from jongacnik/realpath
realpath
2 parents 5afee03 + 0fb2809 commit 6ba524d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function enoki (opts) {
1212
assert.equal(typeof opts.directory, 'string', 'opts.directory should be type string')
1313

1414
this.path = {
15-
content: path.join(opts.directory, opts.pathContent || 'content'),
16-
site: path.join(opts.directory, opts.pathSite || 'site')
15+
content: fs.realpathSync(path.join(opts.directory, opts.pathContent || 'content')),
16+
site: fs.realpathSync(path.join(opts.directory, opts.pathSite || 'site'))
1717
}
1818

1919
try {

0 commit comments

Comments
 (0)